From ecf814bb4cfc0aa556bac79f1fbd801644b8a64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= <andre.bargull@gmail.com> Date: Thu, 21 Dec 2017 12:08:27 -0800 Subject: [PATCH] No longer use testBuiltInObject for built-in constructors --- harness/testBuiltInObject.js | 11 +++-------- test/intl402/Collator/10.1_L15.js | 9 +++++++-- test/intl402/Collator/prototype/10.3_L15.js | 10 ++++++++-- .../Collator/prototype/compare/10.3.2_1_a_L15.js | 2 +- test/intl402/Collator/prototype/compare/10.3.2_L15.js | 2 +- .../Collator/prototype/resolvedOptions/10.3.3_L15.js | 2 +- .../intl402/Collator/supportedLocalesOf/10.2.2_L15.js | 2 +- .../Date/prototype/toLocaleDateString/13.3.2_L15.js | 2 +- .../Date/prototype/toLocaleString/13.3.1_L15.js | 2 +- .../Date/prototype/toLocaleTimeString/13.3.3_L15.js | 2 +- test/intl402/DateTimeFormat/12.1_L15.js | 9 +++++++-- test/intl402/DateTimeFormat/prototype/12.3_L15.js | 10 ++++++++-- .../DateTimeFormat/prototype/format/12.3.2_1_a_L15.js | 2 +- .../DateTimeFormat/prototype/format/12.3.2_L15.js | 2 +- .../prototype/resolvedOptions/12.3.3_L15.js | 2 +- .../DateTimeFormat/supportedLocalesOf/12.2.2_L15.js | 2 +- test/intl402/Intl/8.0_L15.js | 4 ++-- .../Number/prototype/toLocaleString/13.2.1_L15.js | 2 +- test/intl402/NumberFormat/11.1_L15.js | 9 +++++++-- test/intl402/NumberFormat/prototype/11.3_L15.js | 10 ++++++++-- .../NumberFormat/prototype/format/11.3.2_1_a_L15.js | 2 +- .../NumberFormat/prototype/format/11.3.2_L15.js | 2 +- .../prototype/resolvedOptions/11.3.3_L15.js | 2 +- .../NumberFormat/supportedLocalesOf/11.2.2_L15.js | 2 +- test/intl402/PluralRules/builtin.js | 9 +++++++-- test/intl402/PluralRules/prototype/builtins.js | 10 ++++++++-- .../PluralRules/prototype/resolvedOptions/builtins.js | 2 +- .../supportedLocalesOf/supportedLocalesOf.js | 2 +- .../String/prototype/localeCompare/13.1.1_L15.js | 2 +- 29 files changed, 84 insertions(+), 45 deletions(-) diff --git a/harness/testBuiltInObject.js b/harness/testBuiltInObject.js index a923cbb7a8..52505f262d 100644 --- a/harness/testBuiltInObject.js +++ b/harness/testBuiltInObject.js @@ -10,11 +10,10 @@ description: | * defined by the introduction of chapter 15 of the ECMAScript Language Specification. * @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. * @author Norbert Lindenberg */ -function testBuiltInObject(obj, isFunction, isConstructor) { +function testBuiltInObject(obj, isFunction) { if (obj === undefined) { $ERROR("Object being tested is undefined."); @@ -41,12 +40,8 @@ function testBuiltInObject(obj, isFunction, isConstructor) { $ERROR("Built-in functions must have Function.prototype as their prototype."); } - if (isConstructor && Object.getPrototypeOf(obj.prototype) !== Object.prototype) { - $ERROR("Built-in prototype objects must have Object.prototype as their prototype."); - } - var exception; - if (isFunction && !isConstructor) { + if (isFunction) { // this is not a complete test for the presence of [[Construct]]: // if it's absent, the exception must be thrown, but it may also // be thrown if it's present and just has preconditions related to @@ -63,7 +58,7 @@ function testBuiltInObject(obj, isFunction, isConstructor) { } } - if (isFunction && !isConstructor && obj.hasOwnProperty("prototype")) { + if (isFunction && obj.hasOwnProperty("prototype")) { $ERROR("Built-in functions that aren't constructors must not have a prototype property."); } diff --git a/test/intl402/Collator/10.1_L15.js b/test/intl402/Collator/10.1_L15.js index 0b7b5a5354..84f99031d4 100644 --- a/test/intl402/Collator/10.1_L15.js +++ b/test/intl402/Collator/10.1_L15.js @@ -8,7 +8,12 @@ description: > objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator, true, true); +assert.sameValue(Object.prototype.toString.call(Intl.Collator), "[object Function]", + "The [[Class]] internal property of a built-in function must be " + + "\"Function\"."); + +assert(Object.isExtensible(Intl.Collator), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.Collator), Function.prototype); diff --git a/test/intl402/Collator/prototype/10.3_L15.js b/test/intl402/Collator/prototype/10.3_L15.js index 692f2666c5..bbc0450f4b 100644 --- a/test/intl402/Collator/prototype/10.3_L15.js +++ b/test/intl402/Collator/prototype/10.3_L15.js @@ -8,7 +8,13 @@ description: > built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.Collator.prototype, false, false); +assert.sameValue(Object.prototype.toString.call(Intl.Collator.prototype), "[object Object]", + "The [[Class]] internal property of a built-in non-function object must be " + + "\"Object\"."); + +assert(Object.isExtensible(Intl.Collator.prototype), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.Collator.prototype), Object.prototype, + "Built-in prototype objects must have Object.prototype as their prototype."); 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 d86b720eaf..09ffcf2cc5 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); 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 4273e26284..9e35654e71 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); 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 5ef66b88e0..f41bcffc34 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); diff --git a/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js b/test/intl402/Collator/supportedLocalesOf/10.2.2_L15.js index 5f9eb68d80..00618f28f3 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); 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 bf9df2db23..bd882610db 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); 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 3e158c85a1..924b02e592 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); 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 37ad03f995..386d23a46f 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); diff --git a/test/intl402/DateTimeFormat/12.1_L15.js b/test/intl402/DateTimeFormat/12.1_L15.js index 8f54cb06dd..ef746f6a11 100644 --- a/test/intl402/DateTimeFormat/12.1_L15.js +++ b/test/intl402/DateTimeFormat/12.1_L15.js @@ -8,7 +8,12 @@ description: > built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat, true, true); +assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat), "[object Function]", + "The [[Class]] internal property of a built-in function must be " + + "\"Function\"."); + +assert(Object.isExtensible(Intl.DateTimeFormat), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.DateTimeFormat), Function.prototype); diff --git a/test/intl402/DateTimeFormat/prototype/12.3_L15.js b/test/intl402/DateTimeFormat/prototype/12.3_L15.js index bf52f6a1fe..d38b8d7a03 100644 --- a/test/intl402/DateTimeFormat/prototype/12.3_L15.js +++ b/test/intl402/DateTimeFormat/prototype/12.3_L15.js @@ -8,7 +8,13 @@ description: > for built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.DateTimeFormat.prototype, false, false); +assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.prototype), "[object Object]", + "The [[Class]] internal property of a built-in non-function object must be " + + "\"Object\"."); + +assert(Object.isExtensible(Intl.DateTimeFormat.prototype), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.DateTimeFormat.prototype), Object.prototype, + "Built-in prototype objects must have Object.prototype as their prototype."); 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 5e27231cc4..ae697b9964 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); 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 0dc3ea1212..b323676316 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); 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 d38b5b09af..cb294dd70d 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); diff --git a/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js b/test/intl402/DateTimeFormat/supportedLocalesOf/12.2.2_L15.js index 62ab1a23f7..70f8d8a5e7 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); diff --git a/test/intl402/Intl/8.0_L15.js b/test/intl402/Intl/8.0_L15.js index 622baa1c9b..984063afc1 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); +testBuiltInObject(this.Intl, false); +testBuiltInObject(Intl, 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 aec849f832..2e426d1a9b 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); diff --git a/test/intl402/NumberFormat/11.1_L15.js b/test/intl402/NumberFormat/11.1_L15.js index c43589cc6e..7ea48e896f 100644 --- a/test/intl402/NumberFormat/11.1_L15.js +++ b/test/intl402/NumberFormat/11.1_L15.js @@ -8,7 +8,12 @@ description: > objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat, true, true); +assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat), "[object Function]", + "The [[Class]] internal property of a built-in function must be " + + "\"Function\"."); + +assert(Object.isExtensible(Intl.NumberFormat), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.NumberFormat), Function.prototype); diff --git a/test/intl402/NumberFormat/prototype/11.3_L15.js b/test/intl402/NumberFormat/prototype/11.3_L15.js index a126a07c23..b533647817 100644 --- a/test/intl402/NumberFormat/prototype/11.3_L15.js +++ b/test/intl402/NumberFormat/prototype/11.3_L15.js @@ -8,7 +8,13 @@ description: > built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.NumberFormat.prototype, false, false); +assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.prototype), "[object Object]", + "The [[Class]] internal property of a built-in non-function object must be " + + "\"Object\"."); + +assert(Object.isExtensible(Intl.NumberFormat.prototype), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.NumberFormat.prototype), Object.prototype, + "Built-in prototype objects must have Object.prototype as their prototype."); 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 fc278baaa9..4bc4a131d6 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); 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 2c7408aedc..55221edc36 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); 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 113277b886..9b85acfad0 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); diff --git a/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js b/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_L15.js index c73331ea2e..cbb2420c5b 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); diff --git a/test/intl402/PluralRules/builtin.js b/test/intl402/PluralRules/builtin.js index 4c6b53db9d..99f03c8b51 100644 --- a/test/intl402/PluralRules/builtin.js +++ b/test/intl402/PluralRules/builtin.js @@ -8,7 +8,12 @@ description: > built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Zibi Braniecki -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules, true, true); +assert.sameValue(Object.prototype.toString.call(Intl.PluralRules), "[object Function]", + "The [[Class]] internal property of a built-in function must be " + + "\"Function\"."); + +assert(Object.isExtensible(Intl.PluralRules), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.PluralRules), Function.prototype); diff --git a/test/intl402/PluralRules/prototype/builtins.js b/test/intl402/PluralRules/prototype/builtins.js index 27812e876f..83ae26031e 100644 --- a/test/intl402/PluralRules/prototype/builtins.js +++ b/test/intl402/PluralRules/prototype/builtins.js @@ -8,7 +8,13 @@ description: > built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. author: Zibi Braniecki -includes: [testBuiltInObject.js] ---*/ -testBuiltInObject(Intl.PluralRules.prototype, false, false); +assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.prototype), "[object Object]", + "The [[Class]] internal property of a built-in non-function object must be " + + "\"Object\"."); + +assert(Object.isExtensible(Intl.PluralRules.prototype), "Built-in objects must be extensible."); + +assert.sameValue(Object.getPrototypeOf(Intl.PluralRules.prototype), Object.prototype, + "Built-in prototype objects must have Object.prototype as their prototype."); diff --git a/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js b/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js index 442c8033f8..240596c363 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); diff --git a/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js b/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js index 7115f6d139..1016f7ac6a 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); 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 624d4a3b90..c2d50ca257 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); -- GitLab