diff --git a/harness/testBuiltInObject.js b/harness/testBuiltInObject.js index 95fa2d3f6bbb47f9fc66c186d91021b6a8fdbe11..a923cbb7a8105f7282907a5d6a3a31256fb68701 100644 --- a/harness/testBuiltInObject.js +++ b/harness/testBuiltInObject.js @@ -11,12 +11,10 @@ description: | * @param {Object} obj the object to be tested. * @param {boolean} isFunction whether the specification describes obj as a function. * @param {boolean} isConstructor whether the specification describes obj as a constructor. - * @param {String[]} properties an array with the names of the built-in properties of obj, - * excluding length, prototype, or properties with non-default attributes. * @author Norbert Lindenberg */ -function testBuiltInObject(obj, isFunction, isConstructor, properties) { +function testBuiltInObject(obj, isFunction, isConstructor) { if (obj === undefined) { $ERROR("Object being tested is undefined."); @@ -47,34 +45,6 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties) { $ERROR("Built-in prototype objects must have Object.prototype as their prototype."); } - // verification of the absence of the [[Construct]] internal property has - // been moved to the end of the test - - // verification of the absence of the prototype property has - // been moved to the end of the test - - properties.forEach(function(prop) { - var desc = Object.getOwnPropertyDescriptor(obj, prop); - if (desc === undefined) { - $ERROR("Missing property " + prop + "."); - } - // accessor properties don't have writable attribute - if (desc.hasOwnProperty("writable") && !desc.writable) { - $ERROR("The " + prop + " property of this built-in object must be writable."); - } - if (desc.enumerable) { - $ERROR("The " + prop + " property of this built-in object must not be enumerable."); - } - if (!desc.configurable) { - $ERROR("The " + prop + " property of this built-in object must be configurable."); - } - }); - - // The remaining sections have been moved to the end of the test because - // unbound non-constructor functions written in JavaScript cannot possibly - // pass them, and we still want to test JavaScript implementations as much - // as possible. - var exception; if (isFunction && !isConstructor) { // this is not a complete test for the presence of [[Construct]]: diff --git a/test/intl402/Collator/10.1_L15.js b/test/intl402/Collator/10.1_L15.js index 2f08ccd2af812e8c8b8379cd0552171a0d4ea512..0b7b5a53543ef60a0c4a681b2d240a781640e094 100644 --- a/test/intl402/Collator/10.1_L15.js +++ b/test/intl402/Collator/10.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator, true, true, ["supportedLocalesOf"]); +testBuiltInObject(Intl.Collator, true, true); diff --git a/test/intl402/Collator/prop-desc.js b/test/intl402/Collator/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..9eb65080d46bd543958a87f61640040dc0948c20 --- /dev/null +++ b/test/intl402/Collator/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.collator-intro +description: > + "Collator" property of Intl. +info: | + Intl.Collator (...) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl, "Collator"); +verifyWritable(Intl, "Collator"); +verifyConfigurable(Intl, "Collator"); diff --git a/test/intl402/Collator/prototype/10.3_L15.js b/test/intl402/Collator/prototype/10.3_L15.js index e2d458b1564a15b219216f8ef427b6a797eba55e..692f2666c558b42d799cd897820b59e3ce41ba4e 100644 --- a/test/intl402/Collator/prototype/10.3_L15.js +++ b/test/intl402/Collator/prototype/10.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator.prototype, false, false, ["constructor", "compare", "resolvedOptions"]); +testBuiltInObject(Intl.Collator.prototype, false, false); diff --git a/test/intl402/Collator/prototype/compare/10.3.2_1_a_L15.js b/test/intl402/Collator/prototype/compare/10.3.2_1_a_L15.js index 6f5920e7beef009dc768f309ab2148aed6e97b94..d86b720eaf0c64c63f02f41108697888bba77684 100644 --- a/test/intl402/Collator/prototype/compare/10.3.2_1_a_L15.js +++ b/test/intl402/Collator/prototype/compare/10.3.2_1_a_L15.js @@ -12,4 +12,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(new Intl.Collator().compare, true, false, []); +testBuiltInObject(new Intl.Collator().compare, true, false); diff --git a/test/intl402/Collator/prototype/compare/10.3.2_L15.js b/test/intl402/Collator/prototype/compare/10.3.2_L15.js index 5f11db40dc44f484c72bc6044e879c63d48ec649..4273e26284a925f98ad822803e7819d0d57a984f 100644 --- a/test/intl402/Collator/prototype/compare/10.3.2_L15.js +++ b/test/intl402/Collator/prototype/compare/10.3.2_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare").get , true, false, []); +testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare").get , true, false); diff --git a/test/intl402/Collator/prototype/compare/prop-desc.js b/test/intl402/Collator/prototype/compare/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..7544b998a89e5971cd4748298c33b2d8a032542e --- /dev/null +++ b/test/intl402/Collator/prototype/compare/prop-desc.js @@ -0,0 +1,35 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.collator.prototype.resolvedoptions +description: > + "compare" property of Intl.Collator.prototype. +info: | + get Intl.Collator.prototype.compare + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every accessor property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. + If only a get accessor function is described, the set accessor function is the default + value, undefined. If only a set accessor is described the get accessor is the default + value, undefined. + +includes: [propertyHelper.js] +---*/ + +var desc = Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare"); + +assert.sameValue(desc.set, undefined); +assert.sameValue(typeof desc.get, "function"); + +verifyNotEnumerable(Intl.Collator.prototype, "compare"); +verifyConfigurable(Intl.Collator.prototype, "compare"); diff --git a/test/intl402/Collator/prototype/constructor/prop-desc.js b/test/intl402/Collator/prototype/constructor/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..2bda7b943f9b94e4411f5c89ddd03df3ccf68531 --- /dev/null +++ b/test/intl402/Collator/prototype/constructor/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.collator.prototype.constructor +description: > + "constructor" property of Intl.Collator.prototype. +info: | + Intl.Collator.prototype.constructor + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.Collator.prototype, "constructor"); +verifyWritable(Intl.Collator.prototype, "constructor"); +verifyConfigurable(Intl.Collator.prototype, "constructor"); diff --git a/test/intl402/Collator/prototype/resolvedOptions/10.3.3_L15.js b/test/intl402/Collator/prototype/resolvedOptions/10.3.3_L15.js index 2c9238cde93c3a4d3d8d55b77d06dc268d98cb86..5ef66b88e02716a18c3c2a29969d5d5ba96d1a72 100644 --- a/test/intl402/Collator/prototype/resolvedOptions/10.3.3_L15.js +++ b/test/intl402/Collator/prototype/resolvedOptions/10.3.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator.prototype.resolvedOptions, true, false, []); +testBuiltInObject(Intl.Collator.prototype.resolvedOptions, true, false); diff --git a/test/intl402/Collator/prototype/resolvedOptions/prop-desc.js b/test/intl402/Collator/prototype/resolvedOptions/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..d7e9974941677f62f81f90cafce63b69e66a3f6a --- /dev/null +++ b/test/intl402/Collator/prototype/resolvedOptions/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.collator.prototype.resolvedoptions +description: > + "resolvedOptions" property of Intl.Collator.prototype. +info: | + Intl.Collator.prototype.resolvedOptions () + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.Collator.prototype, "resolvedOptions"); +verifyWritable(Intl.Collator.prototype, "resolvedOptions"); +verifyConfigurable(Intl.Collator.prototype, "resolvedOptions"); diff --git a/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js b/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js index 870b90f56966d243d3a3cf0065f73ede02830162..5f9eb68d8027c843ea35d3b86e25d3d5f20bc9b5 100644 --- a/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js +++ b/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator.supportedLocalesOf, true, false, []); +testBuiltInObject(Intl.Collator.supportedLocalesOf, true, false); diff --git a/test/intl402/Collator/supportedLocalesOf/prop-desc.js b/test/intl402/Collator/supportedLocalesOf/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..c2ad5613affebbc8f682b4e683fc21238715c983 --- /dev/null +++ b/test/intl402/Collator/supportedLocalesOf/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.collator.supportedlocalesof +description: > + "supportedLocalesOf" property of Intl.Collator. +info: | + Intl.Collator.supportedLocalesOf ( locales [ , options ] ) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.Collator, "supportedLocalesOf"); +verifyWritable(Intl.Collator, "supportedLocalesOf"); +verifyConfigurable(Intl.Collator, "supportedLocalesOf"); diff --git a/test/intl402/Date/prototype/toLocaleDateString/13.3.2_L15.js b/test/intl402/Date/prototype/toLocaleDateString/13.3.2_L15.js index 37db01ec2533261aad8367d2c7559546003fe336..bf9df2db2362a4265952fe282574d549776b4724 100644 --- a/test/intl402/Date/prototype/toLocaleDateString/13.3.2_L15.js +++ b/test/intl402/Date/prototype/toLocaleDateString/13.3.2_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Date.prototype.toLocaleDateString, true, false, []); +testBuiltInObject(Date.prototype.toLocaleDateString, true, false); diff --git a/test/intl402/Date/prototype/toLocaleString/13.3.1_L15.js b/test/intl402/Date/prototype/toLocaleString/13.3.1_L15.js index 7a874bd41f42457db2d7e49e93dacb3b16269a42..3e158c85a1da2e4a415cc1cb88941ec16fdcf264 100644 --- a/test/intl402/Date/prototype/toLocaleString/13.3.1_L15.js +++ b/test/intl402/Date/prototype/toLocaleString/13.3.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Date.prototype.toLocaleString, true, false, []); +testBuiltInObject(Date.prototype.toLocaleString, true, false); diff --git a/test/intl402/Date/prototype/toLocaleTimeString/13.3.3_L15.js b/test/intl402/Date/prototype/toLocaleTimeString/13.3.3_L15.js index 333547de7080255afd7eac7a089a081dc64a137b..37ad03f995cf78a283c52bced8984e378daef3e9 100644 --- a/test/intl402/Date/prototype/toLocaleTimeString/13.3.3_L15.js +++ b/test/intl402/Date/prototype/toLocaleTimeString/13.3.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Date.prototype.toLocaleTimeString, true, false, []); +testBuiltInObject(Date.prototype.toLocaleTimeString, true, false); diff --git a/test/intl402/DateTimeFormat/12.1_L15.js b/test/intl402/DateTimeFormat/12.1_L15.js index d43864d8843ef954f0d042fd753b80a3ccd46de7..8f54cb06dd8bccf4654e525d779f3860b070604d 100644 --- a/test/intl402/DateTimeFormat/12.1_L15.js +++ b/test/intl402/DateTimeFormat/12.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat, true, true, ["supportedLocalesOf"]); +testBuiltInObject(Intl.DateTimeFormat, true, true); diff --git a/test/intl402/DateTimeFormat/prop-desc.js b/test/intl402/DateTimeFormat/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..a808d1ea119685875ee5659abada8a17f50958d2 --- /dev/null +++ b/test/intl402/DateTimeFormat/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.datetimeformat-intro +description: > + "DateTimeFormat" property of Intl. +info: | + Intl.DateTimeFormat (...) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl, "DateTimeFormat"); +verifyWritable(Intl, "DateTimeFormat"); +verifyConfigurable(Intl, "DateTimeFormat"); diff --git a/test/intl402/DateTimeFormat/prototype/12.3_L15.js b/test/intl402/DateTimeFormat/prototype/12.3_L15.js index 6139fc766f309aff52b432b4ec53778c25f8d902..bf52f6a1fe89f315139b38552797e7a02b65ace3 100644 --- a/test/intl402/DateTimeFormat/prototype/12.3_L15.js +++ b/test/intl402/DateTimeFormat/prototype/12.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat.prototype, false, false, ["constructor", "format", "resolvedOptions"]); +testBuiltInObject(Intl.DateTimeFormat.prototype, false, false); diff --git a/test/intl402/DateTimeFormat/prototype/constructor/prop-desc.js b/test/intl402/DateTimeFormat/prototype/constructor/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..a4ec0cccd9ad976870e56ac56c71ab92b7d04f0c --- /dev/null +++ b/test/intl402/DateTimeFormat/prototype/constructor/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.datetimeformat.prototype.constructor +description: > + "constructor" property of Intl.DateTimeFormat.prototype. +info: | + Intl.DateTimeFormat.prototype.constructor + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.DateTimeFormat.prototype, "constructor"); +verifyWritable(Intl.DateTimeFormat.prototype, "constructor"); +verifyConfigurable(Intl.DateTimeFormat.prototype, "constructor"); diff --git a/test/intl402/DateTimeFormat/prototype/format/12.3.2_1_a_L15.js b/test/intl402/DateTimeFormat/prototype/format/12.3.2_1_a_L15.js index 20750276652df8ddb63dec9cfa79a8d63ca0e741..5e27231cc4ec031f19c26947d5ff8ed867eaa96f 100644 --- a/test/intl402/DateTimeFormat/prototype/format/12.3.2_1_a_L15.js +++ b/test/intl402/DateTimeFormat/prototype/format/12.3.2_1_a_L15.js @@ -12,4 +12,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(new Intl.DateTimeFormat().format, true, false, []); +testBuiltInObject(new Intl.DateTimeFormat().format, true, false); diff --git a/test/intl402/DateTimeFormat/prototype/format/12.3.2_L15.js b/test/intl402/DateTimeFormat/prototype/format/12.3.2_L15.js index 2b11d565e09410f7536d2dfa7db1f07364281435..0dc3ea121252a1b184df9304282a6c7a22b9f376 100644 --- a/test/intl402/DateTimeFormat/prototype/format/12.3.2_L15.js +++ b/test/intl402/DateTimeFormat/prototype/format/12.3.2_L15.js @@ -12,4 +12,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get , true, false, []); +testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get , true, false); diff --git a/test/intl402/DateTimeFormat/prototype/format/prop-desc.js b/test/intl402/DateTimeFormat/prototype/format/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..ff12c9f511e6b12fcd2900022aeb76d9dc8cedce --- /dev/null +++ b/test/intl402/DateTimeFormat/prototype/format/prop-desc.js @@ -0,0 +1,35 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.datetimeformat.prototype.format +description: > + "format" property of Intl.DateTimeFormat.prototype. +info: | + get Intl.DateTimeFormat.prototype.format + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every accessor property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. + If only a get accessor function is described, the set accessor function is the default + value, undefined. If only a set accessor is described the get accessor is the default + value, undefined. + +includes: [propertyHelper.js] +---*/ + +var desc = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format"); + +assert.sameValue(desc.set, undefined); +assert.sameValue(typeof desc.get, "function"); + +verifyNotEnumerable(Intl.DateTimeFormat.prototype, "format"); +verifyConfigurable(Intl.DateTimeFormat.prototype, "format"); diff --git a/test/intl402/DateTimeFormat/prototype/resolvedOptions/12.3.3_L15.js b/test/intl402/DateTimeFormat/prototype/resolvedOptions/12.3.3_L15.js index e233686212cf959caa6437f24b13927c5f9d5b74..d38b5b09aff979aa216e1fa48398ec6dd7b81af4 100644 --- a/test/intl402/DateTimeFormat/prototype/resolvedOptions/12.3.3_L15.js +++ b/test/intl402/DateTimeFormat/prototype/resolvedOptions/12.3.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat.prototype.resolvedOptions, true, false, []); +testBuiltInObject(Intl.DateTimeFormat.prototype.resolvedOptions, true, false); diff --git a/test/intl402/DateTimeFormat/prototype/resolvedOptions/prop-desc.js b/test/intl402/DateTimeFormat/prototype/resolvedOptions/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..06e589405c6c821ba3a14c02980b9306866d8294 --- /dev/null +++ b/test/intl402/DateTimeFormat/prototype/resolvedOptions/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.datetimeformat.prototype.resolvedoptions +description: > + "resolvedOptions" property of Intl.DateTimeFormat.prototype. +info: | + Intl.DateTimeFormat.prototype.resolvedOptions () + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.DateTimeFormat.prototype, "resolvedOptions"); +verifyWritable(Intl.DateTimeFormat.prototype, "resolvedOptions"); +verifyConfigurable(Intl.DateTimeFormat.prototype, "resolvedOptions"); diff --git a/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js b/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js index af65b4960f61d9b2e6d1d72a138d169baa1fee47..62ab1a23f7785634d012a50aa15903fc79efe196 100644 --- a/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js +++ b/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat.supportedLocalesOf, true, false, []); +testBuiltInObject(Intl.DateTimeFormat.supportedLocalesOf, true, false); diff --git a/test/intl402/DateTimeFormat/supportedLocalesOf/prop-desc.js b/test/intl402/DateTimeFormat/supportedLocalesOf/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..623d09e490f245599283daaf76310e379112df3c --- /dev/null +++ b/test/intl402/DateTimeFormat/supportedLocalesOf/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.datetimeformat.supportedlocalesof +description: > + "supportedLocalesOf" property of Intl.DateTimeFormat. +info: | + Intl.DateTimeFormat.supportedLocalesOf ( locales [ , options ] ) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.DateTimeFormat, "supportedLocalesOf"); +verifyWritable(Intl.DateTimeFormat, "supportedLocalesOf"); +verifyConfigurable(Intl.DateTimeFormat, "supportedLocalesOf"); diff --git a/test/intl402/Intl/8.0_L15.js b/test/intl402/Intl/8.0_L15.js index cb68bcb0a220b007b898d08ab7d63a4434a9b688..622baa1c9b11006993088e39d1d0c8e0243b8cba 100644 --- a/test/intl402/Intl/8.0_L15.js +++ b/test/intl402/Intl/8.0_L15.js @@ -11,5 +11,5 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(this.Intl, false, false, []); -testBuiltInObject(Intl, false, false, ["Collator", "NumberFormat", "DateTimeFormat"]); +testBuiltInObject(this.Intl, false, false); +testBuiltInObject(Intl, false, false); diff --git a/test/intl402/Number/prototype/toLocaleString/13.2.1_L15.js b/test/intl402/Number/prototype/toLocaleString/13.2.1_L15.js index 80b61e535b7432613b3fc934076e43be86f4eeeb..aec849f8322f4757eb59b0b72c6bd505f4bbfc64 100644 --- a/test/intl402/Number/prototype/toLocaleString/13.2.1_L15.js +++ b/test/intl402/Number/prototype/toLocaleString/13.2.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Number.prototype.toLocaleString, true, false, []); +testBuiltInObject(Number.prototype.toLocaleString, true, false); diff --git a/test/intl402/NumberFormat/11.1_L15.js b/test/intl402/NumberFormat/11.1_L15.js index a9e8a0c6e289f53e05c598f5cefb34755a1f57ce..c43589cc6e938ce27369972dbf68589ae9d151f2 100644 --- a/test/intl402/NumberFormat/11.1_L15.js +++ b/test/intl402/NumberFormat/11.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat, true, true, ["supportedLocalesOf"]); +testBuiltInObject(Intl.NumberFormat, true, true); diff --git a/test/intl402/NumberFormat/prop-desc.js b/test/intl402/NumberFormat/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..e5878a70e9602dd9e7e1746c3fb16fc2395900ee --- /dev/null +++ b/test/intl402/NumberFormat/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.numberformat-intro +description: > + "NumberFormat" property of Intl. +info: | + Intl.NumberFormat (...) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl, "NumberFormat"); +verifyWritable(Intl, "NumberFormat"); +verifyConfigurable(Intl, "NumberFormat"); diff --git a/test/intl402/NumberFormat/prototype/11.3_L15.js b/test/intl402/NumberFormat/prototype/11.3_L15.js index 12917b11834fc156901d71db394b3c9112375d3c..a126a07c234993aeb8d9402ab38dd2456c6cd996 100644 --- a/test/intl402/NumberFormat/prototype/11.3_L15.js +++ b/test/intl402/NumberFormat/prototype/11.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat.prototype, false, false, ["constructor", "format", "resolvedOptions"]); +testBuiltInObject(Intl.NumberFormat.prototype, false, false); diff --git a/test/intl402/NumberFormat/prototype/constructor/prop-desc.js b/test/intl402/NumberFormat/prototype/constructor/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..90589389c08a05bf9aa46397052f2feb7e402846 --- /dev/null +++ b/test/intl402/NumberFormat/prototype/constructor/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.numberformat.prototype.constructor +description: > + "constructor" property of Intl.NumberFormat.prototype. +info: | + Intl.NumberFormat.prototype.constructor + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.NumberFormat.prototype, "constructor"); +verifyWritable(Intl.NumberFormat.prototype, "constructor"); +verifyConfigurable(Intl.NumberFormat.prototype, "constructor"); diff --git a/test/intl402/NumberFormat/prototype/format/11.3.2_1_a_L15.js b/test/intl402/NumberFormat/prototype/format/11.3.2_1_a_L15.js index 2f4c34c4d6f7bb1c9c1e3a36000301abcf2a35c6..fc278baaa925bdb5452788817627ec73c5dc8ded 100644 --- a/test/intl402/NumberFormat/prototype/format/11.3.2_1_a_L15.js +++ b/test/intl402/NumberFormat/prototype/format/11.3.2_1_a_L15.js @@ -12,4 +12,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(new Intl.NumberFormat().format, true, false, []); +testBuiltInObject(new Intl.NumberFormat().format, true, false); diff --git a/test/intl402/NumberFormat/prototype/format/11.3.2_L15.js b/test/intl402/NumberFormat/prototype/format/11.3.2_L15.js index 0b42c9fa1f3085f1ee7fb2eb7dcd8ae2fb22816e..2c7408aedce21202f83e32900d0b8016ac4d410a 100644 --- a/test/intl402/NumberFormat/prototype/format/11.3.2_L15.js +++ b/test/intl402/NumberFormat/prototype/format/11.3.2_L15.js @@ -12,4 +12,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get , true, false, []); +testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get , true, false); diff --git a/test/intl402/NumberFormat/prototype/format/prop-desc.js b/test/intl402/NumberFormat/prototype/format/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..e6210dd11f6e14cc9b1a745b9e25dba003675ad7 --- /dev/null +++ b/test/intl402/NumberFormat/prototype/format/prop-desc.js @@ -0,0 +1,35 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.numberformat.prototype.format +description: > + "format" property of Intl.NumberFormat.prototype. +info: | + get Intl.NumberFormat.prototype.format + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every accessor property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. + If only a get accessor function is described, the set accessor function is the default + value, undefined. If only a set accessor is described the get accessor is the default + value, undefined. + +includes: [propertyHelper.js] +---*/ + +var desc = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format"); + +assert.sameValue(desc.set, undefined); +assert.sameValue(typeof desc.get, "function"); + +verifyNotEnumerable(Intl.NumberFormat.prototype, "format"); +verifyConfigurable(Intl.NumberFormat.prototype, "format"); diff --git a/test/intl402/NumberFormat/prototype/resolvedOptions/11.3.3_L15.js b/test/intl402/NumberFormat/prototype/resolvedOptions/11.3.3_L15.js index 96448a6bf0d7249ffb769dbe3a5d3c69fd086115..113277b8862e36059a507b8ead62eddd952d9d96 100644 --- a/test/intl402/NumberFormat/prototype/resolvedOptions/11.3.3_L15.js +++ b/test/intl402/NumberFormat/prototype/resolvedOptions/11.3.3_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat.prototype.resolvedOptions, true, false, []); +testBuiltInObject(Intl.NumberFormat.prototype.resolvedOptions, true, false); diff --git a/test/intl402/NumberFormat/prototype/resolvedOptions/prop-desc.js b/test/intl402/NumberFormat/prototype/resolvedOptions/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..17895bf1a6f8c70e2fef3c9f670d70e744d596cc --- /dev/null +++ b/test/intl402/NumberFormat/prototype/resolvedOptions/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.numberformat.prototype.resolvedoptions +description: > + "resolvedOptions" property of Intl.NumberFormat.prototype. +info: | + Intl.NumberFormat.prototype.resolvedOptions () + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.NumberFormat.prototype, "resolvedOptions"); +verifyWritable(Intl.NumberFormat.prototype, "resolvedOptions"); +verifyConfigurable(Intl.NumberFormat.prototype, "resolvedOptions"); diff --git a/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js b/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js index f28c247bb04374f40974c31a213669d18acaea93..c73331ea2ede7616417f39e0b3a4dfc52b9a3c26 100644 --- a/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js +++ b/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat.supportedLocalesOf, true, false, []); +testBuiltInObject(Intl.NumberFormat.supportedLocalesOf, true, false); diff --git a/test/intl402/NumberFormat/supportedLocalesOf/prop-desc.js b/test/intl402/NumberFormat/supportedLocalesOf/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..b957d207c48ae31052f363077c9b19d934921d76 --- /dev/null +++ b/test/intl402/NumberFormat/supportedLocalesOf/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.numberformat.supportedlocalesof +description: > + "supportedLocalesOf" property of Intl.NumberFormat. +info: | + Intl.NumberFormat.supportedLocalesOf ( locales [ , options ] ) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.NumberFormat, "supportedLocalesOf"); +verifyWritable(Intl.NumberFormat, "supportedLocalesOf"); +verifyConfigurable(Intl.NumberFormat, "supportedLocalesOf"); diff --git a/test/intl402/PluralRules/builtin.js b/test/intl402/PluralRules/builtin.js index 320ea42531b7175751ffb1ddf3febeb849d55fbf..4c6b53db9db1d7ed715a3a0968a1c6290b33bba0 100644 --- a/test/intl402/PluralRules/builtin.js +++ b/test/intl402/PluralRules/builtin.js @@ -11,4 +11,4 @@ author: Zibi Braniecki includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules, true, true, ["supportedLocalesOf"]); +testBuiltInObject(Intl.PluralRules, true, true); diff --git a/test/intl402/PluralRules/prototype/builtins.js b/test/intl402/PluralRules/prototype/builtins.js index 8e66ba4aa2f425b4a77b4900156534578b2ac71c..27812e876f4776a255a7cc123524c8c4ec92a805 100644 --- a/test/intl402/PluralRules/prototype/builtins.js +++ b/test/intl402/PluralRules/prototype/builtins.js @@ -11,4 +11,4 @@ author: Zibi Braniecki includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules.prototype, false, false, ["constructor", "select", "resolvedOptions"]); +testBuiltInObject(Intl.PluralRules.prototype, false, false); diff --git a/test/intl402/PluralRules/prototype/constructor/prop-desc.js b/test/intl402/PluralRules/prototype/constructor/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..de8f2be139491337088f78e0199f9b2c6e5f4d96 --- /dev/null +++ b/test/intl402/PluralRules/prototype/constructor/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.pluralrules.prototype.constructor +description: > + "constructor" property of Intl.PluralRules.prototype. +info: | + Intl.PluralRules.prototype.constructor + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.PluralRules.prototype, "constructor"); +verifyWritable(Intl.PluralRules.prototype, "constructor"); +verifyConfigurable(Intl.PluralRules.prototype, "constructor"); diff --git a/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js b/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js index 6686d242576e503e81a4758370cc19f4f311838f..442c8033f89cb499cfe2435b610014492ba12f69 100644 --- a/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js +++ b/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js @@ -11,4 +11,4 @@ author: Zibi Braniecki includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules.prototype.resolvedOptions, true, false, []); +testBuiltInObject(Intl.PluralRules.prototype.resolvedOptions, true, false); diff --git a/test/intl402/PluralRules/prototype/resolvedOptions/prop-desc.js b/test/intl402/PluralRules/prototype/resolvedOptions/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..fc99c6d76df0358baf6381cf9fc626ae9d5310f7 --- /dev/null +++ b/test/intl402/PluralRules/prototype/resolvedOptions/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.pluralrules.prototype.resolvedoptions +description: > + "resolvedOptions" property of Intl.PluralRules.prototype. +info: | + Intl.PluralRules.prototype.resolvedOptions () + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.PluralRules.prototype, "resolvedOptions"); +verifyWritable(Intl.PluralRules.prototype, "resolvedOptions"); +verifyConfigurable(Intl.PluralRules.prototype, "resolvedOptions"); diff --git a/test/intl402/PluralRules/prototype/select/prop-desc.js b/test/intl402/PluralRules/prototype/select/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..22ed8a88cabd899d592af7743e0895d0c6acdc4b --- /dev/null +++ b/test/intl402/PluralRules/prototype/select/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.pluralrules.prototype.select +description: > + "select" property of Intl.PluralRules.prototype. +info: | + Intl.PluralRules.prototype.select( value ) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.PluralRules.prototype, "select"); +verifyWritable(Intl.PluralRules.prototype, "select"); +verifyConfigurable(Intl.PluralRules.prototype, "select"); diff --git a/test/intl402/PluralRules/supportedLocalesOf/prop-desc.js b/test/intl402/PluralRules/supportedLocalesOf/prop-desc.js new file mode 100644 index 0000000000000000000000000000000000000000..321eafce26d4aef4d71d0a9dcd163660d2453928 --- /dev/null +++ b/test/intl402/PluralRules/supportedLocalesOf/prop-desc.js @@ -0,0 +1,29 @@ +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.pluralrules.supportedlocalesof +description: > + "supportedLocalesOf" property of Intl.PluralRules. +info: | + Intl.PluralRules.supportedLocalesOf ( locales [ , options ] ) + + 7 Requirements for Standard Built-in ECMAScript Objects + + Unless specified otherwise in this document, the objects, functions, and constructors + described in this standard are subject to the generic requirements and restrictions + specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language + Specification, 9th edition, clause 17, or successor. + + 17 ECMAScript Standard Built-in Objects: + + Every other data property described in clauses 18 through 26 and in Annex B.2 has the + attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } + unless otherwise specified. + +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Intl.PluralRules, "supportedLocalesOf"); +verifyWritable(Intl.PluralRules, "supportedLocalesOf"); +verifyConfigurable(Intl.PluralRules, "supportedLocalesOf"); diff --git a/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js b/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js index af25e040673a7623edc36e79fbf4bee92618e61b..7115f6d13940b256e82734bd43f11083ad2f46d5 100644 --- a/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js +++ b/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js @@ -11,4 +11,4 @@ author: Zibi Braniecki includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules.supportedLocalesOf, true, false, []); +testBuiltInObject(Intl.PluralRules.supportedLocalesOf, true, false); diff --git a/test/intl402/String/prototype/localeCompare/13.1.1_L15.js b/test/intl402/String/prototype/localeCompare/13.1.1_L15.js index a3564db9eb58fc84b34d6bc2e0c2477c536ab870..624d4a3b902eb9b97f9cf16f3aa45d79a1e80e6f 100644 --- a/test/intl402/String/prototype/localeCompare/13.1.1_L15.js +++ b/test/intl402/String/prototype/localeCompare/13.1.1_L15.js @@ -11,4 +11,4 @@ author: Norbert Lindenberg includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(String.prototype.localeCompare, true, false, []); +testBuiltInObject(String.prototype.localeCompare, true, false);