From 51553973738063f457e248f7f1e643c561c8a64c Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 21 Dec 2017 16:46:44 -0500 Subject: [PATCH] Add missing features --- test/harness/isConstructor.js | 1 + test/intl402/Collator/prototype/compare/builtin.js | 1 + .../Collator/prototype/compare/compare-function-builtin.js | 1 + test/intl402/Collator/prototype/resolvedOptions/builtin.js | 1 + test/intl402/Collator/supportedLocalesOf/builtin.js | 1 + test/intl402/Date/prototype/toLocaleDateString/builtin.js | 1 + test/intl402/Date/prototype/toLocaleString/builtin.js | 1 + test/intl402/Date/prototype/toLocaleTimeString/builtin.js | 1 + test/intl402/DateTimeFormat/prototype/format/builtin.js | 1 + .../DateTimeFormat/prototype/format/format-function-builtin.js | 1 + test/intl402/DateTimeFormat/prototype/resolvedOptions/builtin.js | 1 + test/intl402/DateTimeFormat/supportedLocalesOf/builtin.js | 1 + test/intl402/Number/prototype/toLocaleString/builtin.js | 1 + test/intl402/NumberFormat/prototype/format/builtin.js | 1 + .../NumberFormat/prototype/format/format-function-builtin.js | 1 + test/intl402/NumberFormat/prototype/resolvedOptions/builtin.js | 1 + test/intl402/NumberFormat/supportedLocalesOf/builtin.js | 1 + test/intl402/PluralRules/prototype/resolvedOptions/builtins.js | 1 + .../intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js | 1 + test/intl402/String/prototype/localeCompare/builtin.js | 1 + 20 files changed, 20 insertions(+) diff --git a/test/harness/isConstructor.js b/test/harness/isConstructor.js index cc3a134997..11bda9b3b5 100644 --- a/test/harness/isConstructor.js +++ b/test/harness/isConstructor.js @@ -8,6 +8,7 @@ description: > isConstructor includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(typeof isConstructor, "function"); diff --git a/test/intl402/Collator/prototype/compare/builtin.js b/test/intl402/Collator/prototype/compare/builtin.js index ab12bd28d4..6860cb25a4 100644 --- a/test/intl402/Collator/prototype/compare/builtin.js +++ b/test/intl402/Collator/prototype/compare/builtin.js @@ -9,6 +9,7 @@ description: > of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var compareFn = Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare").get; diff --git a/test/intl402/Collator/prototype/compare/compare-function-builtin.js b/test/intl402/Collator/prototype/compare/compare-function-builtin.js index 0d40250aff..59322861af 100644 --- a/test/intl402/Collator/prototype/compare/compare-function-builtin.js +++ b/test/intl402/Collator/prototype/compare/compare-function-builtin.js @@ -10,6 +10,7 @@ description: > ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var compareFn = new Intl.Collator().compare; diff --git a/test/intl402/Collator/prototype/resolvedOptions/builtin.js b/test/intl402/Collator/prototype/resolvedOptions/builtin.js index cf83b0a628..e98c400665 100644 --- a/test/intl402/Collator/prototype/resolvedOptions/builtin.js +++ b/test/intl402/Collator/prototype/resolvedOptions/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.Collator.prototype.resolvedOptions), "[object Function]", diff --git a/test/intl402/Collator/supportedLocalesOf/builtin.js b/test/intl402/Collator/supportedLocalesOf/builtin.js index 8fc4a24d46..f88d5bc88d 100644 --- a/test/intl402/Collator/supportedLocalesOf/builtin.js +++ b/test/intl402/Collator/supportedLocalesOf/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.Collator.supportedLocalesOf), "[object Function]", diff --git a/test/intl402/Date/prototype/toLocaleDateString/builtin.js b/test/intl402/Date/prototype/toLocaleDateString/builtin.js index 70b8b9d796..421032bd81 100644 --- a/test/intl402/Date/prototype/toLocaleDateString/builtin.js +++ b/test/intl402/Date/prototype/toLocaleDateString/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleDateString), "[object Function]", diff --git a/test/intl402/Date/prototype/toLocaleString/builtin.js b/test/intl402/Date/prototype/toLocaleString/builtin.js index dde2899d21..fa66dd1bc1 100644 --- a/test/intl402/Date/prototype/toLocaleString/builtin.js +++ b/test/intl402/Date/prototype/toLocaleString/builtin.js @@ -9,6 +9,7 @@ description: > the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleString), "[object Function]", diff --git a/test/intl402/Date/prototype/toLocaleTimeString/builtin.js b/test/intl402/Date/prototype/toLocaleTimeString/builtin.js index 5e61e709d2..bcbf24c8a5 100644 --- a/test/intl402/Date/prototype/toLocaleTimeString/builtin.js +++ b/test/intl402/Date/prototype/toLocaleTimeString/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleTimeString), "[object Function]", diff --git a/test/intl402/DateTimeFormat/prototype/format/builtin.js b/test/intl402/DateTimeFormat/prototype/format/builtin.js index f0862c45c1..6cae10f34c 100644 --- a/test/intl402/DateTimeFormat/prototype/format/builtin.js +++ b/test/intl402/DateTimeFormat/prototype/format/builtin.js @@ -10,6 +10,7 @@ description: > Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var formatFn = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get; diff --git a/test/intl402/DateTimeFormat/prototype/format/format-function-builtin.js b/test/intl402/DateTimeFormat/prototype/format/format-function-builtin.js index 4fa4f3e6b0..0b93499a8b 100644 --- a/test/intl402/DateTimeFormat/prototype/format/format-function-builtin.js +++ b/test/intl402/DateTimeFormat/prototype/format/format-function-builtin.js @@ -10,6 +10,7 @@ description: > ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var formatFn = new Intl.DateTimeFormat().format; diff --git a/test/intl402/DateTimeFormat/prototype/resolvedOptions/builtin.js b/test/intl402/DateTimeFormat/prototype/resolvedOptions/builtin.js index db4e3b9f5b..40c2265392 100644 --- a/test/intl402/DateTimeFormat/prototype/resolvedOptions/builtin.js +++ b/test/intl402/DateTimeFormat/prototype/resolvedOptions/builtin.js @@ -9,6 +9,7 @@ description: > of chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.prototype.resolvedOptions), "[object Function]", diff --git a/test/intl402/DateTimeFormat/supportedLocalesOf/builtin.js b/test/intl402/DateTimeFormat/supportedLocalesOf/builtin.js index d67b64bfca..1b1afa4cc3 100644 --- a/test/intl402/DateTimeFormat/supportedLocalesOf/builtin.js +++ b/test/intl402/DateTimeFormat/supportedLocalesOf/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.supportedLocalesOf), "[object Function]", diff --git a/test/intl402/Number/prototype/toLocaleString/builtin.js b/test/intl402/Number/prototype/toLocaleString/builtin.js index 5e5ece0f17..1475b37631 100644 --- a/test/intl402/Number/prototype/toLocaleString/builtin.js +++ b/test/intl402/Number/prototype/toLocaleString/builtin.js @@ -9,6 +9,7 @@ description: > the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Number.prototype.toLocaleString), "[object Function]", diff --git a/test/intl402/NumberFormat/prototype/format/builtin.js b/test/intl402/NumberFormat/prototype/format/builtin.js index c89a62c6e5..aae1252c24 100644 --- a/test/intl402/NumberFormat/prototype/format/builtin.js +++ b/test/intl402/NumberFormat/prototype/format/builtin.js @@ -10,6 +10,7 @@ description: > Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var formatFn = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get; diff --git a/test/intl402/NumberFormat/prototype/format/format-function-builtin.js b/test/intl402/NumberFormat/prototype/format/format-function-builtin.js index d7efa612a2..21e83777e5 100644 --- a/test/intl402/NumberFormat/prototype/format/format-function-builtin.js +++ b/test/intl402/NumberFormat/prototype/format/format-function-builtin.js @@ -10,6 +10,7 @@ description: > ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ var formatFn = new Intl.NumberFormat().format; diff --git a/test/intl402/NumberFormat/prototype/resolvedOptions/builtin.js b/test/intl402/NumberFormat/prototype/resolvedOptions/builtin.js index 02c99d7349..6ad6deae89 100644 --- a/test/intl402/NumberFormat/prototype/resolvedOptions/builtin.js +++ b/test/intl402/NumberFormat/prototype/resolvedOptions/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.prototype.resolvedOptions), "[object Function]", diff --git a/test/intl402/NumberFormat/supportedLocalesOf/builtin.js b/test/intl402/NumberFormat/supportedLocalesOf/builtin.js index 64a3869eaa..51a0eebc39 100644 --- a/test/intl402/NumberFormat/supportedLocalesOf/builtin.js +++ b/test/intl402/NumberFormat/supportedLocalesOf/builtin.js @@ -9,6 +9,7 @@ description: > chapter 17 of the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.supportedLocalesOf), "[object Function]", diff --git a/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js b/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js index e25ff3caa7..48f81ca54b 100644 --- a/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js +++ b/test/intl402/PluralRules/prototype/resolvedOptions/builtins.js @@ -9,6 +9,7 @@ description: > ECMAScript Language Specification. author: Zibi Braniecki includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.prototype.resolvedOptions), "[object Function]", diff --git a/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js b/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js index ee6984f652..47e4d63cc8 100644 --- a/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js +++ b/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js @@ -9,6 +9,7 @@ description: > ECMAScript Language Specification. author: Zibi Braniecki includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.supportedLocalesOf), "[object Function]", diff --git a/test/intl402/String/prototype/localeCompare/builtin.js b/test/intl402/String/prototype/localeCompare/builtin.js index 67db4ed5a3..d25a55b53e 100644 --- a/test/intl402/String/prototype/localeCompare/builtin.js +++ b/test/intl402/String/prototype/localeCompare/builtin.js @@ -9,6 +9,7 @@ description: > the ECMAScript Language Specification. author: Norbert Lindenberg includes: [isConstructor.js] +features: [Reflect.construct] ---*/ assert.sameValue(Object.prototype.toString.call(String.prototype.localeCompare), "[object Function]",