chore: convert many tests to use verifyProperty (#4263)

Co-authored-by: André Bargull <andre.bargull@gmail.com>
This commit is contained in:
Meghan Denny 2024-10-14 02:25:05 -07:00 committed by GitHub
parent 83fae7f1f2
commit 60963bf468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
326 changed files with 1703 additions and 1021 deletions

View File

@ -7,6 +7,8 @@ includes: [propertyHelper.js]
esid: sec-array.from esid: sec-array.from
---*/ ---*/
verifyWritable(Array, "from"); verifyProperty(Array, "from", {
verifyNotEnumerable(Array, "from"); writable: true,
verifyConfigurable(Array, "from"); enumerable: false,
configurable: true
});

View File

@ -7,6 +7,8 @@ includes: [propertyHelper.js]
esid: sec-array.isarray esid: sec-array.isarray
---*/ ---*/
verifyWritable(Array, "isArray"); verifyProperty(Array, "isArray", {
verifyNotEnumerable(Array, "isArray"); writable: true,
verifyConfigurable(Array, "isArray"); enumerable: false,
configurable: true
});

View File

@ -12,6 +12,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Array, 'of'); verifyProperty(Array, "of", {
verifyWritable(Array, 'of'); writable: true,
verifyConfigurable(Array, 'of'); enumerable: false,
configurable: true
});

View File

@ -15,6 +15,9 @@ esid: sec-array.prototype-@@iterator
---*/ ---*/
assert.sameValue(Array.prototype[Symbol.iterator], Array.prototype.values); assert.sameValue(Array.prototype[Symbol.iterator], Array.prototype.values);
verifyNotEnumerable(Array.prototype, Symbol.iterator);
verifyWritable(Array.prototype, Symbol.iterator); verifyProperty(Array.prototype, Symbol.iterator, {
verifyConfigurable(Array.prototype, Symbol.iterator); writable: true,
enumerable: false,
configurable: true
});

View File

@ -21,11 +21,16 @@ var unscopables = Array.prototype[Symbol.unscopables];
assert.sameValue(Object.getPrototypeOf(unscopables), null); assert.sameValue(Object.getPrototypeOf(unscopables), null);
assert.sameValue(unscopables.findLast, true, '`findLast` property value'); assert.sameValue(unscopables.findLast, true, '`findLast` property value');
verifyEnumerable(unscopables, 'findLast'); verifyProperty(unscopables, "findLast", {
verifyWritable(unscopables, 'findLast'); writable: true,
verifyConfigurable(unscopables, 'findLast'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.findLastIndex, true, '`findLastIndex` property value'); assert.sameValue(unscopables.findLastIndex, true, '`findLastIndex` property value');
verifyEnumerable(unscopables, 'findLastIndex'); verifyProperty(unscopables, "findLastIndex", {
verifyWritable(unscopables, 'findLastIndex'); writable: true,
verifyConfigurable(unscopables, 'findLastIndex'); enumerable: true,
configurable: true
});

View File

@ -11,6 +11,8 @@ includes: [propertyHelper.js]
features: [Symbol.unscopables] features: [Symbol.unscopables]
---*/ ---*/
verifyNotEnumerable(Array.prototype, Symbol.unscopables); verifyProperty(Array.prototype, Symbol.unscopables, {
verifyNotWritable(Array.prototype, Symbol.unscopables); writable: false,
verifyConfigurable(Array.prototype, Symbol.unscopables); enumerable: false,
configurable: true,
});

View File

@ -30,51 +30,71 @@ var unscopables = Array.prototype[Symbol.unscopables];
assert.sameValue(Object.getPrototypeOf(unscopables), null); assert.sameValue(Object.getPrototypeOf(unscopables), null);
assert.sameValue(unscopables.copyWithin, true, '`copyWithin` property value'); assert.sameValue(unscopables.copyWithin, true, '`copyWithin` property value');
verifyEnumerable(unscopables, 'copyWithin'); verifyProperty(unscopables, "copyWithin", {
verifyWritable(unscopables, 'copyWithin'); writable: true,
verifyConfigurable(unscopables, 'copyWithin'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.entries, true, '`entries` property value'); assert.sameValue(unscopables.entries, true, '`entries` property value');
verifyEnumerable(unscopables, 'entries'); verifyProperty(unscopables, "entries", {
verifyWritable(unscopables, 'entries'); writable: true,
verifyConfigurable(unscopables, 'entries'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.fill, true, '`fill` property value'); assert.sameValue(unscopables.fill, true, '`fill` property value');
verifyEnumerable(unscopables, 'fill'); verifyProperty(unscopables, "fill", {
verifyWritable(unscopables, 'fill'); writable: true,
verifyConfigurable(unscopables, 'fill'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.find, true, '`find` property value'); assert.sameValue(unscopables.find, true, '`find` property value');
verifyEnumerable(unscopables, 'find'); verifyProperty(unscopables, "find", {
verifyWritable(unscopables, 'find'); writable: true,
verifyConfigurable(unscopables, 'find'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.findIndex, true, '`findIndex` property value'); assert.sameValue(unscopables.findIndex, true, '`findIndex` property value');
verifyEnumerable(unscopables, 'findIndex'); verifyProperty(unscopables, "findIndex", {
verifyWritable(unscopables, 'findIndex'); writable: true,
verifyConfigurable(unscopables, 'findIndex'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.flat, true, '`flat` property value'); assert.sameValue(unscopables.flat, true, '`flat` property value');
verifyEnumerable(unscopables, 'flat'); verifyProperty(unscopables, "flat", {
verifyWritable(unscopables, 'flat'); writable: true,
verifyConfigurable(unscopables, 'flat'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.flatMap, true, '`flatMap` property value'); assert.sameValue(unscopables.flatMap, true, '`flatMap` property value');
verifyEnumerable(unscopables, 'flatMap'); verifyProperty(unscopables, "flatMap", {
verifyWritable(unscopables, 'flatMap'); writable: true,
verifyConfigurable(unscopables, 'flatMap'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.includes, true, '`includes` property value'); assert.sameValue(unscopables.includes, true, '`includes` property value');
verifyEnumerable(unscopables, 'includes'); verifyProperty(unscopables, "includes", {
verifyWritable(unscopables, 'includes'); writable: true,
verifyConfigurable(unscopables, 'includes'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.keys, true, '`keys` property value'); assert.sameValue(unscopables.keys, true, '`keys` property value');
verifyEnumerable(unscopables, 'keys'); verifyProperty(unscopables, "keys", {
verifyWritable(unscopables, 'keys'); writable: true,
verifyConfigurable(unscopables, 'keys'); enumerable: true,
configurable: true
});
assert.sameValue(unscopables.values, true, '`values` property value'); assert.sameValue(unscopables.values, true, '`values` property value');
verifyEnumerable(unscopables, 'values'); verifyProperty(unscopables, "values", {
verifyWritable(unscopables, 'values'); writable: true,
verifyConfigurable(unscopables, 'values'); enumerable: true,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.concat, 'function', 'The value of `typeof Array.prototype.concat` is expected to be "function"'); assert.sameValue(typeof Array.prototype.concat, 'function', 'The value of `typeof Array.prototype.concat` is expected to be "function"');
verifyNotEnumerable(Array.prototype, "concat"); verifyProperty(Array.prototype, "concat", {
verifyWritable(Array.prototype, "concat"); writable: true,
verifyConfigurable(Array.prototype, "concat"); enumerable: false,
configurable: true
});

View File

@ -20,6 +20,8 @@ includes: [propertyHelper.js]
assert.sameValue(Array.prototype.constructor, Array); assert.sameValue(Array.prototype.constructor, Array);
verifyNotEnumerable(Array.prototype, 'constructor'); verifyProperty(Array.prototype, "constructor", {
verifyWritable(Array.prototype, 'constructor'); writable: true,
verifyConfigurable(Array.prototype, 'constructor'); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ assert.sameValue(
'`typeof Array.prototype.copyWithin` is `function`' '`typeof Array.prototype.copyWithin` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'copyWithin'); verifyProperty(Array.prototype, "copyWithin", {
verifyWritable(Array.prototype, 'copyWithin'); writable: true,
verifyConfigurable(Array.prototype, 'copyWithin'); enumerable: false,
configurable: true
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Array.prototype.entries` is `function`' '`typeof Array.prototype.entries` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'entries'); verifyProperty(Array.prototype, "entries", {
verifyWritable(Array.prototype, 'entries'); writable: true,
verifyConfigurable(Array.prototype, 'entries'); enumerable: false,
configurable: true
});

View File

@ -7,7 +7,7 @@ description: >
"every" property of Array.prototype "every" property of Array.prototype
info: | info: |
17 ECMAScript Standard Built-in Objects 17 ECMAScript Standard Built-in Objects
Every other data property described in clauses 18 through 26 and in Annex B.2 Every other data property described in clauses 18 through 26 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false, has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified. [[Configurable]]: true } unless otherwise specified.

View File

@ -14,6 +14,8 @@ assert.sameValue(
'`typeof Array.prototype.fill` is `function`' '`typeof Array.prototype.fill` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'fill'); verifyProperty(Array.prototype, "fill", {
verifyWritable(Array.prototype, 'fill'); writable: true,
verifyConfigurable(Array.prototype, 'fill'); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.filter, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.filter, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "filter"); verifyProperty(Array.prototype, "filter", {
verifyWritable(Array.prototype, "filter"); writable: true,
verifyConfigurable(Array.prototype, "filter"); enumerable: false,
configurable: true
});

View File

@ -14,6 +14,8 @@ assert.sameValue(
'`typeof Array.prototype.find` is `function`' '`typeof Array.prototype.find` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'find'); verifyProperty(Array.prototype, "find", {
verifyWritable(Array.prototype, 'find'); writable: true,
verifyConfigurable(Array.prototype, 'find'); enumerable: false,
configurable: true
});

View File

@ -14,6 +14,8 @@ assert.sameValue(
'`typeof Array.prototype.findIndex` is `function`' '`typeof Array.prototype.findIndex` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'findIndex'); verifyProperty(Array.prototype, "findIndex", {
verifyWritable(Array.prototype, 'findIndex'); writable: true,
verifyConfigurable(Array.prototype, 'findIndex'); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.forEach, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.forEach, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "forEach"); verifyProperty(Array.prototype, "forEach", {
verifyWritable(Array.prototype, "forEach"); writable: true,
verifyConfigurable(Array.prototype, "forEach"); enumerable: false,
configurable: true
});

View File

@ -12,6 +12,8 @@ includes: [propertyHelper.js]
features: [Array.prototype.includes] features: [Array.prototype.includes]
---*/ ---*/
verifyNotEnumerable(Array.prototype, "includes"); verifyProperty(Array.prototype, "includes", {
verifyWritable(Array.prototype, "includes"); writable: true,
verifyConfigurable(Array.prototype, "includes"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.indexOf, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.indexOf, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "indexOf"); verifyProperty(Array.prototype, "indexOf", {
verifyWritable(Array.prototype, "indexOf"); writable: true,
verifyConfigurable(Array.prototype, "indexOf"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.join, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.join, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "join"); verifyProperty(Array.prototype, "join", {
verifyWritable(Array.prototype, "join"); writable: true,
verifyConfigurable(Array.prototype, "join"); enumerable: false,
configurable: true
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Array.prototype.keys` is `function`' '`typeof Array.prototype.keys` is `function`'
); );
verifyNotEnumerable(Array.prototype, 'keys'); verifyProperty(Array.prototype, "keys", {
verifyWritable(Array.prototype, 'keys'); writable: true,
verifyConfigurable(Array.prototype, 'keys'); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.lastIndexOf, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.lastIndexOf, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "lastIndexOf"); verifyProperty(Array.prototype, "lastIndexOf", {
verifyWritable(Array.prototype, "lastIndexOf"); writable: true,
verifyConfigurable(Array.prototype, "lastIndexOf"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.map, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.map, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "map"); verifyProperty(Array.prototype, "map", {
verifyWritable(Array.prototype, "map"); writable: true,
verifyConfigurable(Array.prototype, "map"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.pop, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.pop, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "pop"); verifyProperty(Array.prototype, "pop", {
verifyWritable(Array.prototype, "pop"); writable: true,
verifyConfigurable(Array.prototype, "pop"); enumerable: false,
configurable: true
});

View File

@ -15,6 +15,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Array, 'prototype'); verifyProperty(Array, 'prototype', {
verifyNotWritable(Array, 'prototype'); writable: false,
verifyNotConfigurable(Array, 'prototype'); enumerable: false,
configurable: false,
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.push, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.push, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "push"); verifyProperty(Array.prototype, "push", {
verifyWritable(Array.prototype, "push"); writable: true,
verifyConfigurable(Array.prototype, "push"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.reduce, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.reduce, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "reduce"); verifyProperty(Array.prototype, "reduce", {
verifyWritable(Array.prototype, "reduce"); writable: true,
verifyConfigurable(Array.prototype, "reduce"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.reduceRight, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.reduceRight, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "reduceRight"); verifyProperty(Array.prototype, "reduceRight", {
verifyWritable(Array.prototype, "reduceRight"); writable: true,
verifyConfigurable(Array.prototype, "reduceRight"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.reverse, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.reverse, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "reverse"); verifyProperty(Array.prototype, "reverse", {
verifyWritable(Array.prototype, "reverse"); writable: true,
verifyConfigurable(Array.prototype, "reverse"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.shift, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.shift, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "shift"); verifyProperty(Array.prototype, "shift", {
verifyWritable(Array.prototype, "shift"); writable: true,
verifyConfigurable(Array.prototype, "shift"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.slice, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.slice, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "slice"); verifyProperty(Array.prototype, "slice", {
verifyWritable(Array.prototype, "slice"); writable: true,
verifyConfigurable(Array.prototype, "slice"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.some, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.some, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "some"); verifyProperty(Array.prototype, "some", {
verifyWritable(Array.prototype, "some"); writable: true,
verifyConfigurable(Array.prototype, "some"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.sort, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.sort, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "sort"); verifyProperty(Array.prototype, "sort", {
verifyWritable(Array.prototype, "sort"); writable: true,
verifyConfigurable(Array.prototype, "sort"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.splice, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.splice, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "splice"); verifyProperty(Array.prototype, "splice", {
verifyWritable(Array.prototype, "splice"); writable: true,
verifyConfigurable(Array.prototype, "splice"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.toLocaleString, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.toLocaleString, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "toLocaleString"); verifyProperty(Array.prototype, "toLocaleString", {
verifyWritable(Array.prototype, "toLocaleString"); writable: true,
verifyConfigurable(Array.prototype, "toLocaleString"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.toString, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.toString, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "toString"); verifyProperty(Array.prototype, "toString", {
verifyWritable(Array.prototype, "toString"); writable: true,
verifyConfigurable(Array.prototype, "toString"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.unshift, 'function', 'typeof'); assert.sameValue(typeof Array.prototype.unshift, 'function', 'typeof');
verifyNotEnumerable(Array.prototype, "unshift"); verifyProperty(Array.prototype, "unshift", {
verifyWritable(Array.prototype, "unshift"); writable: true,
verifyConfigurable(Array.prototype, "unshift"); enumerable: false,
configurable: true
});

View File

@ -12,6 +12,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Array.prototype.values, 'function'); assert.sameValue(typeof Array.prototype.values, 'function');
verifyNotEnumerable(Array.prototype, 'values'); verifyProperty(Array.prototype, "values", {
verifyWritable(Array.prototype, 'values'); writable: true,
verifyConfigurable(Array.prototype, 'values'); enumerable: false,
configurable: true
});

View File

@ -12,6 +12,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(ArrayBuffer, "isView"); verifyProperty(ArrayBuffer, "isView", {
verifyWritable(ArrayBuffer, "isView"); writable: true,
verifyConfigurable(ArrayBuffer, "isView"); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ features: [Symbol.toStringTag]
assert.sameValue(ArrayBuffer.prototype[Symbol.toStringTag], 'ArrayBuffer'); assert.sameValue(ArrayBuffer.prototype[Symbol.toStringTag], 'ArrayBuffer');
verifyNotEnumerable(ArrayBuffer.prototype, Symbol.toStringTag); verifyProperty(ArrayBuffer.prototype, Symbol.toStringTag, {
verifyNotWritable(ArrayBuffer.prototype, Symbol.toStringTag); writable: false,
verifyConfigurable(ArrayBuffer.prototype, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -18,6 +18,8 @@ includes: [propertyHelper.js]
assert.sameValue(ArrayBuffer.prototype.constructor, ArrayBuffer); assert.sameValue(ArrayBuffer.prototype.constructor, ArrayBuffer);
verifyNotEnumerable(ArrayBuffer.prototype, "constructor"); verifyProperty(ArrayBuffer.prototype, "constructor", {
verifyWritable(ArrayBuffer.prototype, "constructor"); writable: true,
verifyConfigurable(ArrayBuffer.prototype, "constructor"); enumerable: false,
configurable: true
});

View File

@ -15,6 +15,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(ArrayBuffer.prototype, "slice"); verifyProperty(ArrayBuffer.prototype, "slice", {
verifyWritable(ArrayBuffer.prototype, "slice"); writable: true,
verifyConfigurable(ArrayBuffer.prototype, "slice"); enumerable: false,
configurable: true
});

View File

@ -20,6 +20,8 @@ var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
assert.sameValue("Array Iterator", ArrayIteratorProto[Symbol.toStringTag]); assert.sameValue("Array Iterator", ArrayIteratorProto[Symbol.toStringTag]);
verifyNotEnumerable(ArrayIteratorProto, Symbol.toStringTag); verifyProperty(ArrayIteratorProto, Symbol.toStringTag, {
verifyNotWritable(ArrayIteratorProto, Symbol.toStringTag); writable: false,
verifyConfigurable(ArrayIteratorProto, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -12,6 +12,8 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]()); var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
verifyNotEnumerable(ArrayIteratorProto, 'next'); verifyProperty(ArrayIteratorProto, "next", {
verifyWritable(ArrayIteratorProto, 'next'); writable: true,
verifyConfigurable(ArrayIteratorProto, 'next'); enumerable: false,
configurable: true
});

View File

@ -23,6 +23,8 @@ assert.sameValue(descriptor.get.name,
'The value of `descriptor.get.name` is `get disposed`' 'The value of `descriptor.get.name` is `get disposed`'
); );
verifyNotEnumerable(descriptor.get, 'name'); verifyProperty(descriptor.get, 'name', {
verifyNotWritable(descriptor.get, 'name'); writable: false,
verifyConfigurable(descriptor.get, 'name'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(l0.length, 0);
assert.sameValue(l1.length, 1); assert.sameValue(l1.length, 1);
assert.sameValue(l2.length, 2) assert.sameValue(l2.length, 2)
verifyNotWritable(l0, 'length'); verifyProperty(l0, 'length', {
verifyNotEnumerable(l0, 'length'); writable: false,
verifyConfigurable(l0, 'length'); enumerable: false,
configurable: true,
});

View File

@ -20,6 +20,8 @@ assert.sameValue(
'The value of Atomics[Symbol.toStringTag] is "Atomics"' 'The value of Atomics[Symbol.toStringTag] is "Atomics"'
); );
verifyNotEnumerable(Atomics, Symbol.toStringTag); verifyProperty(Atomics, Symbol.toStringTag, {
verifyNotWritable(Atomics, Symbol.toStringTag); writable: false,
verifyConfigurable(Atomics, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, "Boolean"); verifyProperty(this, "Boolean", {
verifyWritable(this, "Boolean"); writable: true,
verifyConfigurable(this, "Boolean"); enumerable: false,
configurable: true
});

View File

@ -8,6 +8,8 @@ description: >
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, "DataView"); verifyProperty(this, "DataView", {
verifyWritable(this, "DataView"); writable: true,
verifyConfigurable(this, "DataView"); enumerable: false,
configurable: true
});

View File

@ -14,6 +14,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(DataView, "prototype"); verifyProperty(DataView, "prototype", {
verifyNotWritable(DataView, "prototype"); writable: false,
verifyNotConfigurable(DataView, "prototype"); enumerable: false,
configurable: false,
});

View File

@ -20,6 +20,8 @@ assert.sameValue(
'The value of DataView.prototype[Symbol.toStringTag] is expected to be "DataView"' 'The value of DataView.prototype[Symbol.toStringTag] is expected to be "DataView"'
); );
verifyNotEnumerable(DataView.prototype, Symbol.toStringTag); verifyProperty(DataView.prototype, Symbol.toStringTag, {
verifyNotWritable(DataView.prototype, Symbol.toStringTag); writable: false,
verifyConfigurable(DataView.prototype, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, "Date"); verifyProperty(this, "Date", {
verifyWritable(this, "Date"); writable: true,
verifyConfigurable(this, "Date"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ includes: [propertyHelper.js]
features: [Symbol.toPrimitive] features: [Symbol.toPrimitive]
---*/ ---*/
verifyNotEnumerable(Date.prototype, Symbol.toPrimitive); verifyProperty(Date.prototype, Symbol.toPrimitive, {
verifyNotWritable(Date.prototype, Symbol.toPrimitive); writable: false,
verifyConfigurable(Date.prototype, Symbol.toPrimitive); enumerable: false,
configurable: true,
});

View File

@ -23,6 +23,8 @@ assert.sameValue(descriptor.get.name,
'The value of `descriptor.get.name` is `get disposed`' 'The value of `descriptor.get.name` is `get disposed`'
); );
verifyNotEnumerable(descriptor.get, 'name'); verifyProperty(descriptor.get, 'name', {
verifyNotWritable(descriptor.get, 'name'); writable: false,
verifyConfigurable(descriptor.get, 'name'); enumerable: false,
configurable: true,
});

View File

@ -18,6 +18,8 @@ assert.sameValue(
'Error.prototype.isPrototypeOf(Error()) returns true' 'Error.prototype.isPrototypeOf(Error()) returns true'
); );
verifyNotEnumerable(Error, 'prototype'); verifyProperty(Error, 'prototype', {
verifyNotWritable(Error, 'prototype'); writable: false,
verifyNotConfigurable(Error, 'prototype'); enumerable: false,
configurable: false,
});

View File

@ -19,6 +19,8 @@ var message = "my-message";
var error = new Error(message); var error = new Error(message);
verifyEqualTo(error, "message", message); verifyEqualTo(error, "message", message);
verifyNotEnumerable(error, "message"); verifyProperty(error, "message", {
verifyWritable(error, "message"); writable: true,
verifyConfigurable(error, "message"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, "Error"); verifyProperty(this, "Error", {
verifyWritable(this, "Error"); writable: true,
verifyConfigurable(this, "Error"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, "Function"); verifyProperty(this, "Function", {
verifyWritable(this, "Function"); writable: true,
verifyConfigurable(this, "Function"); enumerable: false,
configurable: true
});

View File

@ -12,6 +12,8 @@ includes: [propertyHelper.js]
assert.sameValue(typeof Function.prototype[Symbol.hasInstance], 'function'); assert.sameValue(typeof Function.prototype[Symbol.hasInstance], 'function');
verifyNotEnumerable(Function.prototype, Symbol.hasInstance); verifyProperty(Function.prototype, Symbol.hasInstance, {
verifyNotWritable(Function.prototype, Symbol.hasInstance); writable: false,
verifyNotConfigurable(Function.prototype, Symbol.hasInstance); enumerable: false,
configurable: false,
});

View File

@ -30,6 +30,8 @@ assert.sameValue(
Object.getPrototypeOf(instance).prototype Object.getPrototypeOf(instance).prototype
); );
verifyNotEnumerable(instance, 'prototype'); verifyProperty(instance, 'prototype', {
verifyWritable(instance, 'prototype'); writable: true,
verifyNotConfigurable(instance, 'prototype'); enumerable: false,
configurable: false,
});

View File

@ -21,6 +21,8 @@ assert.sameValue(
GeneratorFunctionPrototype[Symbol.toStringTag], 'GeneratorFunction' GeneratorFunctionPrototype[Symbol.toStringTag], 'GeneratorFunction'
); );
verifyNotEnumerable(GeneratorFunctionPrototype, Symbol.toStringTag); verifyProperty(GeneratorFunctionPrototype, Symbol.toStringTag, {
verifyNotWritable(GeneratorFunctionPrototype, Symbol.toStringTag); writable: false,
verifyConfigurable(GeneratorFunctionPrototype, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -18,6 +18,8 @@ var GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor;
assert.sameValue(GeneratorFunction.prototype.constructor, GeneratorFunction); assert.sameValue(GeneratorFunction.prototype.constructor, GeneratorFunction);
verifyNotEnumerable(GeneratorFunction.prototype, 'constructor'); verifyProperty(GeneratorFunction.prototype, 'constructor', {
verifyNotWritable(GeneratorFunction.prototype, 'constructor'); writable: false,
verifyConfigurable(GeneratorFunction.prototype, 'constructor'); enumerable: false,
configurable: true,
});

View File

@ -12,6 +12,8 @@ features: [generators]
var GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor; var GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor;
verifyNotEnumerable(GeneratorFunction, 'prototype'); verifyProperty(GeneratorFunction, 'prototype', {
verifyNotWritable(GeneratorFunction, 'prototype'); writable: false,
verifyNotConfigurable(GeneratorFunction, 'prototype'); enumerable: false,
configurable: false,
});

View File

@ -18,6 +18,8 @@ assert.sameValue(
Object.getPrototypeOf(function*() {}.prototype) Object.getPrototypeOf(function*() {}.prototype)
); );
verifyNotEnumerable(GeneratorFunctionPrototype, 'prototype'); verifyProperty(GeneratorFunctionPrototype, 'prototype', {
verifyNotWritable(GeneratorFunctionPrototype, 'prototype'); writable: false,
verifyConfigurable(GeneratorFunctionPrototype, 'prototype'); enumerable: false,
configurable: true,
});

View File

@ -21,6 +21,8 @@ var GeneratorPrototype = Object.getPrototypeOf(
assert.sameValue(GeneratorPrototype[Symbol.toStringTag], 'Generator'); assert.sameValue(GeneratorPrototype[Symbol.toStringTag], 'Generator');
verifyNotEnumerable(GeneratorPrototype, Symbol.toStringTag); verifyProperty(GeneratorPrototype, Symbol.toStringTag, {
verifyNotWritable(GeneratorPrototype, Symbol.toStringTag); writable: false,
verifyConfigurable(GeneratorPrototype, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -16,6 +16,8 @@ var GeneratorPrototype = Generator.prototype;
assert.sameValue(GeneratorPrototype.constructor, Generator); assert.sameValue(GeneratorPrototype.constructor, Generator);
verifyNotEnumerable(GeneratorPrototype, 'constructor'); verifyProperty(GeneratorPrototype, 'constructor', {
verifyNotWritable(GeneratorPrototype, 'constructor'); writable: false,
verifyConfigurable(GeneratorPrototype, 'constructor'); enumerable: false,
configurable: true,
});

View File

@ -13,6 +13,8 @@ features: [generators]
function* g() {} function* g() {}
var GeneratorPrototype = Object.getPrototypeOf(g).prototype; var GeneratorPrototype = Object.getPrototypeOf(g).prototype;
verifyNotEnumerable(GeneratorPrototype, 'next'); verifyProperty(GeneratorPrototype, 'next', {
verifyWritable(GeneratorPrototype, 'next'); writable: true,
verifyConfigurable(GeneratorPrototype, 'next'); enumerable: false,
configurable: true
});

View File

@ -13,6 +13,8 @@ features: [generators]
function* g() {} function* g() {}
var GeneratorPrototype = Object.getPrototypeOf(g).prototype; var GeneratorPrototype = Object.getPrototypeOf(g).prototype;
verifyNotEnumerable(GeneratorPrototype, 'return'); verifyProperty(GeneratorPrototype, 'return', {
verifyWritable(GeneratorPrototype, 'return'); writable: true,
verifyConfigurable(GeneratorPrototype, 'return'); enumerable: false,
configurable: true
});

View File

@ -13,6 +13,8 @@ features: [generators]
function* g() {} function* g() {}
var GeneratorPrototype = Object.getPrototypeOf(g).prototype; var GeneratorPrototype = Object.getPrototypeOf(g).prototype;
verifyNotEnumerable(GeneratorPrototype, 'throw'); verifyProperty(GeneratorPrototype, 'throw', {
verifyWritable(GeneratorPrototype, 'throw'); writable: true,
verifyConfigurable(GeneratorPrototype, 'throw'); enumerable: false,
configurable: true
});

View File

@ -16,6 +16,8 @@ features: [Symbol.toStringTag]
assert.sameValue(JSON[Symbol.toStringTag], 'JSON'); assert.sameValue(JSON[Symbol.toStringTag], 'JSON');
verifyNotEnumerable(JSON, Symbol.toStringTag); verifyProperty(JSON, Symbol.toStringTag, {
verifyNotWritable(JSON, Symbol.toStringTag); writable: false,
verifyConfigurable(JSON, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -12,6 +12,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(this, 'Map'); verifyProperty(this, 'Map', {
verifyWritable(this, 'Map'); writable: true,
verifyConfigurable(this, 'Map'); enumerable: false,
configurable: true
});

View File

@ -14,6 +14,8 @@ features: [Symbol.iterator]
---*/ ---*/
assert.sameValue(Map.prototype[Symbol.iterator], Map.prototype.entries); assert.sameValue(Map.prototype[Symbol.iterator], Map.prototype.entries);
verifyNotEnumerable(Map.prototype, Symbol.iterator); verifyProperty(Map.prototype, Symbol.iterator, {
verifyWritable(Map.prototype, Symbol.iterator); writable: true,
verifyConfigurable(Map.prototype, Symbol.iterator); enumerable: false,
configurable: true,
});

View File

@ -16,6 +16,8 @@ features: [Symbol.toStringTag]
assert.sameValue(Map.prototype[Symbol.toStringTag], 'Map'); assert.sameValue(Map.prototype[Symbol.toStringTag], 'Map');
verifyNotEnumerable(Map.prototype, Symbol.toStringTag); verifyProperty(Map.prototype, Symbol.toStringTag, {
verifyNotWritable(Map.prototype, Symbol.toStringTag); writable: false,
verifyConfigurable(Map.prototype, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -16,6 +16,8 @@ assert.sameValue(
'typeof Map.prototype.clear is "function"' 'typeof Map.prototype.clear is "function"'
); );
verifyNotEnumerable(Map.prototype, 'clear'); verifyProperty(Map.prototype, 'clear', {
verifyWritable(Map.prototype, 'clear'); writable: true,
verifyConfigurable(Map.prototype, 'clear'); enumerable: false,
configurable: true,
});

View File

@ -11,6 +11,8 @@ includes: [propertyHelper.js]
assert.sameValue(Map.prototype.constructor, Map); assert.sameValue(Map.prototype.constructor, Map);
assert.sameValue((new Map()).constructor, Map); assert.sameValue((new Map()).constructor, Map);
verifyNotEnumerable(Map.prototype, 'constructor'); verifyProperty(Map.prototype, 'constructor', {
verifyWritable(Map.prototype, 'constructor'); writable: true,
verifyConfigurable(Map.prototype, 'constructor'); enumerable: false,
configurable: true,
});

View File

@ -16,6 +16,8 @@ assert.sameValue(
'typeof Map.prototype.delete is "function"' 'typeof Map.prototype.delete is "function"'
); );
verifyNotEnumerable(Map.prototype, 'delete'); verifyProperty(Map.prototype, 'delete', {
verifyWritable(Map.prototype, 'delete'); writable: true,
verifyConfigurable(Map.prototype, 'delete'); enumerable: false,
configurable: true,
});

View File

@ -9,6 +9,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Map, 'prototype'); verifyProperty(Map, 'prototype', {
verifyNotWritable(Map, 'prototype'); writable: false,
verifyNotConfigurable(Map, 'prototype'); enumerable: false,
configurable: false,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.entries` is `function`' '`typeof Map.prototype.entries` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'entries'); verifyProperty(Map.prototype, 'entries', {
verifyWritable(Map.prototype, 'entries'); writable: true,
verifyConfigurable(Map.prototype, 'entries'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.forEach` is `function`' '`typeof Map.prototype.forEach` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'forEach'); verifyProperty(Map.prototype, 'forEach', {
verifyWritable(Map.prototype, 'forEach'); writable: true,
verifyConfigurable(Map.prototype, 'forEach'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.get` is `function`' '`typeof Map.prototype.get` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'get'); verifyProperty(Map.prototype, 'get', {
verifyWritable(Map.prototype, 'get'); writable: true,
verifyConfigurable(Map.prototype, 'get'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.has` is `function`' '`typeof Map.prototype.has` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'has'); verifyProperty(Map.prototype, 'has', {
verifyWritable(Map.prototype, 'has'); writable: true,
verifyConfigurable(Map.prototype, 'has'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.keys` is `function`' '`typeof Map.prototype.keys` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'keys'); verifyProperty(Map.prototype, 'keys', {
verifyWritable(Map.prototype, 'keys'); writable: true,
verifyConfigurable(Map.prototype, 'keys'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.set` is `function`' '`typeof Map.prototype.set` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'set'); verifyProperty(Map.prototype, 'set', {
verifyWritable(Map.prototype, 'set'); writable: true,
verifyConfigurable(Map.prototype, 'set'); enumerable: false,
configurable: true,
});

View File

@ -17,6 +17,8 @@ assert.sameValue(
'`typeof Map.prototype.values` is `function`' '`typeof Map.prototype.values` is `function`'
); );
verifyNotEnumerable(Map.prototype, 'values'); verifyProperty(Map.prototype, 'values', {
verifyWritable(Map.prototype, 'values'); writable: true,
verifyConfigurable(Map.prototype, 'values'); enumerable: false,
configurable: true,
});

View File

@ -18,6 +18,8 @@ var MapIteratorProto = Object.getPrototypeOf(new Map()[Symbol.iterator]());
assert.sameValue('Map Iterator', MapIteratorProto[Symbol.toStringTag]); assert.sameValue('Map Iterator', MapIteratorProto[Symbol.toStringTag]);
verifyNotEnumerable(MapIteratorProto, Symbol.toStringTag); verifyProperty(MapIteratorProto, Symbol.toStringTag, {
verifyNotWritable(MapIteratorProto, Symbol.toStringTag); writable: false,
verifyConfigurable(MapIteratorProto, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'E'); verifyProperty(Math, 'E', {
verifyNotWritable(Math, 'E'); writable: false,
verifyNotConfigurable(Math, 'E'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'LN10'); verifyProperty(Math, 'LN10', {
verifyNotWritable(Math, 'LN10'); writable: false,
verifyNotConfigurable(Math, 'LN10'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'LN2'); verifyProperty(Math, 'LN2', {
verifyNotWritable(Math, 'LN2'); writable: false,
verifyNotConfigurable(Math, 'LN2'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'LOG10E'); verifyProperty(Math, 'LOG10E', {
verifyNotWritable(Math, 'LOG10E'); writable: false,
verifyNotConfigurable(Math, 'LOG10E'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'LOG2E'); verifyProperty(Math, 'LOG2E', {
verifyNotWritable(Math, 'LOG2E'); writable: false,
verifyNotConfigurable(Math, 'LOG2E'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'PI'); verifyProperty(Math, 'PI', {
verifyNotWritable(Math, 'PI'); writable: false,
verifyNotConfigurable(Math, 'PI'); enumerable: false,
configurable: false,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, 'SQRT2'); verifyProperty(Math, 'SQRT2', {
verifyNotWritable(Math, 'SQRT2'); writable: false,
verifyNotConfigurable(Math, 'SQRT2'); enumerable: false,
configurable: false,
});

View File

@ -16,6 +16,8 @@ features: [Symbol.toStringTag]
assert.sameValue(Math[Symbol.toStringTag], 'Math'); assert.sameValue(Math[Symbol.toStringTag], 'Math');
verifyNotEnumerable(Math, Symbol.toStringTag); verifyProperty(Math, Symbol.toStringTag, {
verifyNotWritable(Math, Symbol.toStringTag); writable: false,
verifyConfigurable(Math, Symbol.toStringTag); enumerable: false,
configurable: true,
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, "abs"); verifyProperty(Math, "abs", {
verifyWritable(Math, "abs"); writable: true,
verifyConfigurable(Math, "abs"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, "acos"); verifyProperty(Math, "acos", {
verifyWritable(Math, "acos"); writable: true,
verifyConfigurable(Math, "acos"); enumerable: false,
configurable: true
});

View File

@ -7,6 +7,8 @@ includes: [propertyHelper.js]
es6id: 20.2.2.3 es6id: 20.2.2.3
---*/ ---*/
verifyNotEnumerable(Math, "acosh"); verifyProperty(Math, "acosh", {
verifyWritable(Math, "acosh"); writable: true,
verifyConfigurable(Math, "acosh"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, "asin"); verifyProperty(Math, "asin", {
verifyWritable(Math, "asin"); writable: true,
verifyConfigurable(Math, "asin"); enumerable: false,
configurable: true
});

View File

@ -7,6 +7,8 @@ includes: [propertyHelper.js]
es6id: 20.2.2.5 es6id: 20.2.2.5
---*/ ---*/
verifyNotEnumerable(Math, "asinh"); verifyProperty(Math, "asinh", {
verifyWritable(Math, "asinh"); writable: true,
verifyConfigurable(Math, "asinh"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, "atan"); verifyProperty(Math, "atan", {
verifyWritable(Math, "atan"); writable: true,
verifyConfigurable(Math, "atan"); enumerable: false,
configurable: true
});

View File

@ -11,6 +11,8 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
verifyNotEnumerable(Math, "atan2"); verifyProperty(Math, "atan2", {
verifyWritable(Math, "atan2"); writable: true,
verifyConfigurable(Math, "atan2"); enumerable: false,
configurable: true,
});

Some files were not shown because too many files have changed in this diff Show More