mirror of https://github.com/tc39/test262.git
Add missing features
This commit is contained in:
parent
91460f90de
commit
5155397373
|
@ -8,6 +8,7 @@ description: >
|
||||||
isConstructor
|
isConstructor
|
||||||
|
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(typeof isConstructor, "function");
|
assert.sameValue(typeof isConstructor, "function");
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
of chapter 17 of the ECMAScript Language Specification.
|
of chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var compareFn = Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare").get;
|
var compareFn = Object.getOwnPropertyDescriptor(Intl.Collator.prototype, "compare").get;
|
||||||
|
|
|
@ -10,6 +10,7 @@ description: >
|
||||||
ECMAScript Language Specification.
|
ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var compareFn = new Intl.Collator().compare;
|
var compareFn = new Intl.Collator().compare;
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.Collator.prototype.resolvedOptions), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.Collator.prototype.resolvedOptions), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.Collator.supportedLocalesOf), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.Collator.supportedLocalesOf), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleDateString), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleDateString), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
the ECMAScript Language Specification.
|
the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleString), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleString), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleTimeString), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Date.prototype.toLocaleTimeString), "[object Function]",
|
||||||
|
|
|
@ -10,6 +10,7 @@ description: >
|
||||||
Specification.
|
Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var formatFn = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get;
|
var formatFn = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get;
|
||||||
|
|
|
@ -10,6 +10,7 @@ description: >
|
||||||
ECMAScript Language Specification.
|
ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var formatFn = new Intl.DateTimeFormat().format;
|
var formatFn = new Intl.DateTimeFormat().format;
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
of chapter 17 of the ECMAScript Language Specification.
|
of chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.prototype.resolvedOptions), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.prototype.resolvedOptions), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.supportedLocalesOf), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat.supportedLocalesOf), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
the ECMAScript Language Specification.
|
the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Number.prototype.toLocaleString), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Number.prototype.toLocaleString), "[object Function]",
|
||||||
|
|
|
@ -10,6 +10,7 @@ description: >
|
||||||
Specification.
|
Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var formatFn = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get;
|
var formatFn = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get;
|
||||||
|
|
|
@ -10,6 +10,7 @@ description: >
|
||||||
ECMAScript Language Specification.
|
ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var formatFn = new Intl.NumberFormat().format;
|
var formatFn = new Intl.NumberFormat().format;
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.prototype.resolvedOptions), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.prototype.resolvedOptions), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
chapter 17 of the ECMAScript Language Specification.
|
chapter 17 of the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.supportedLocalesOf), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.NumberFormat.supportedLocalesOf), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
ECMAScript Language Specification.
|
ECMAScript Language Specification.
|
||||||
author: Zibi Braniecki
|
author: Zibi Braniecki
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.prototype.resolvedOptions), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.prototype.resolvedOptions), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
ECMAScript Language Specification.
|
ECMAScript Language Specification.
|
||||||
author: Zibi Braniecki
|
author: Zibi Braniecki
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.supportedLocalesOf), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(Intl.PluralRules.supportedLocalesOf), "[object Function]",
|
||||||
|
|
|
@ -9,6 +9,7 @@ description: >
|
||||||
the ECMAScript Language Specification.
|
the ECMAScript Language Specification.
|
||||||
author: Norbert Lindenberg
|
author: Norbert Lindenberg
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
|
features: [Reflect.construct]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Object.prototype.toString.call(String.prototype.localeCompare), "[object Function]",
|
assert.sameValue(Object.prototype.toString.call(String.prototype.localeCompare), "[object Function]",
|
||||||
|
|
Loading…
Reference in New Issue