diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /js/src/tests/test262/intl402/ch08 | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'js/src/tests/test262/intl402/ch08')
-rw-r--r-- | js/src/tests/test262/intl402/ch08/8.0/8.0.js | 12 | ||||
-rw-r--r-- | js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js | 15 | ||||
-rw-r--r-- | js/src/tests/test262/intl402/ch08/8.0/browser.js | 0 | ||||
-rw-r--r-- | js/src/tests/test262/intl402/ch08/8.0/shell.js | 0 | ||||
-rw-r--r-- | js/src/tests/test262/intl402/ch08/browser.js | 0 | ||||
-rw-r--r-- | js/src/tests/test262/intl402/ch08/shell.js | 0 |
6 files changed, 27 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/ch08/8.0/8.0.js b/js/src/tests/test262/intl402/ch08/8.0/8.0.js new file mode 100644 index 000000000..dedda973b --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/8.0/8.0.js @@ -0,0 +1,12 @@ +// Copyright 2013 Mozilla Corporation. All rights reserved. +// This code is governed by the license found in the LICENSE file. + +/** + * @description Tests that Intl has Object.prototype as its prototype. + * @author Norbert Lindenberg + */ + +if (Object.getPrototypeOf(Intl) !== Object.prototype) { + $ERROR("Intl doesn't have Object.prototype as its prototype."); +} + diff --git a/js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js b/js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js new file mode 100644 index 000000000..0174bef54 --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js @@ -0,0 +1,15 @@ +// Copyright 2012 Mozilla Corporation. All rights reserved. +// This code is governed by the license found in the LICENSE file. + +/** + * @description Tests that Intl + * 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(fnGlobalObject().Intl, false, false, []); +testBuiltInObject(Intl, false, false, ["Collator", "NumberFormat", "DateTimeFormat"]); + diff --git a/js/src/tests/test262/intl402/ch08/8.0/browser.js b/js/src/tests/test262/intl402/ch08/8.0/browser.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/8.0/browser.js diff --git a/js/src/tests/test262/intl402/ch08/8.0/shell.js b/js/src/tests/test262/intl402/ch08/8.0/shell.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/8.0/shell.js diff --git a/js/src/tests/test262/intl402/ch08/browser.js b/js/src/tests/test262/intl402/ch08/browser.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/browser.js diff --git a/js/src/tests/test262/intl402/ch08/shell.js b/js/src/tests/test262/intl402/ch08/shell.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/js/src/tests/test262/intl402/ch08/shell.js |