michael@0: // Copyright 2012 Mozilla Corporation. All rights reserved. michael@0: // This code is governed by the license found in the LICENSE file. michael@0: michael@0: /** michael@0: * @description Tests that Date.prototype.toLocaleDateString michael@0: * meets the requirements for built-in objects defined by the introduction of michael@0: * chapter 15 of the ECMAScript Language Specification. michael@0: * @author Norbert Lindenberg michael@0: */ michael@0: michael@0: $INCLUDE("testBuiltInObject.js"); michael@0: michael@0: testBuiltInObject(Date.prototype.toLocaleDateString, true, false, [], 0); michael@0: