diff options
author | Norbert Lindenberg <ecmascript@lindenbergsoftware.com> | 2012-08-26 20:48:49 -0700 |
---|---|---|
committer | Norbert Lindenberg <ecmascript@lindenbergsoftware.com> | 2012-08-26 20:48:49 -0700 |
commit | 00edc48d0113cce8c0fc0b6c7a82c9aa6e1d295c (patch) | |
tree | 2b2da7d73e42bd4026714127b4af56ee77759d88 /test/suite/intl402/ch12/12.3/12.3.2_L15.js | |
parent | 40f5ee0b046e7f29fe8f91b2a8306a0569602639 (diff) | |
download | test262-00edc48d0113cce8c0fc0b6c7a82c9aa6e1d295c.tar.gz |
Added tests for requirements imposed on the built-in objects of the ECMAScript Internationalization API Specification by the introduction of chapter 15 of the ECMAScript Language Specification.
- Removed some old tests that were redundant with the new tests.
- Added testBuiltInObject.js as standard include for all console tests in test262.py – see related bug 574.
Diffstat (limited to 'test/suite/intl402/ch12/12.3/12.3.2_L15.js')
-rw-r--r-- | test/suite/intl402/ch12/12.3/12.3.2_L15.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite/intl402/ch12/12.3/12.3.2_L15.js b/test/suite/intl402/ch12/12.3/12.3.2_L15.js new file mode 100644 index 000000000..73d309e26 --- /dev/null +++ b/test/suite/intl402/ch12/12.3/12.3.2_L15.js @@ -0,0 +1,14 @@ +// Copyright 2012 Mozilla Corporation. All rights reserved. +// This code is governed by the license found in the LICENSE file. + +/** + * @description Tests that the getter for Intl.DateTimeFormat.prototype.format + * meets the requirements for built-in objects defined by the introduction of + * chapter 15 of the ECMAScript Language Specification. + * @author Norbert Lindenberg + */ + +$INCLUDE("testBuiltInObject.js"); + +testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get , true, false, [], 0); + |