From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- js/src/tests/test262/intl402/ch08/8.0/8.0.js | 12 ++++++++++++ js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js | 15 +++++++++++++++ js/src/tests/test262/intl402/ch08/8.0/browser.js | 0 js/src/tests/test262/intl402/ch08/8.0/shell.js | 0 js/src/tests/test262/intl402/ch08/browser.js | 0 js/src/tests/test262/intl402/ch08/shell.js | 0 6 files changed, 27 insertions(+) create mode 100644 js/src/tests/test262/intl402/ch08/8.0/8.0.js create mode 100644 js/src/tests/test262/intl402/ch08/8.0/8.0_L15.js create mode 100644 js/src/tests/test262/intl402/ch08/8.0/browser.js create mode 100644 js/src/tests/test262/intl402/ch08/8.0/shell.js create mode 100644 js/src/tests/test262/intl402/ch08/browser.js create mode 100644 js/src/tests/test262/intl402/ch08/shell.js (limited to 'js/src/tests/test262/intl402/ch08') 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 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 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 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 -- cgit v1.2.3