rewrite tests to use verifyProperty

This commit is contained in:
Kevin Gibbons 2024-03-22 17:48:56 -07:00 committed by Ms2ger
parent 0b1abd5ee7
commit 5424d7e834
589 changed files with 3534 additions and 3287 deletions

View File

@ -25,8 +25,9 @@ features: [Symbol.species]
var desc = Object.getOwnPropertyDescriptor(Array, Symbol.species); var desc = Object.getOwnPropertyDescriptor(Array, Symbol.species);
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -15,11 +15,9 @@ includes: [propertyHelper.js]
var descriptor = Object.getOwnPropertyDescriptor(Array, Symbol.species); var descriptor = Object.getOwnPropertyDescriptor(Array, Symbol.species);
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, value: "get [Symbol.species]",
'get [Symbol.species]' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -19,12 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.from, "name", {
Array.from.name, value: "from",
'from', writable: false,
'The value of Array.from.name is expected to be "from"' enumerable: false,
); configurable: true
});
verifyNotEnumerable(Array.from, 'name');
verifyNotWritable(Array.from, 'name');
verifyConfigurable(Array.from, 'name');

View File

@ -14,8 +14,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.from.length, 1, 'The value of Array.from.length is expected to be 1'); verifyProperty(Array.from, "length", {
value: 1,
verifyNotEnumerable(Array.from, 'length'); writable: false,
verifyNotWritable(Array.from, 'length'); enumerable: false,
verifyConfigurable(Array.from, 'length'); configurable: true
});

View File

@ -20,8 +20,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.isArray.name, "isArray", 'The value of Array.isArray.name is expected to be "isArray"'); verifyProperty(Array.isArray, "name", {
value: "isArray",
verifyNotEnumerable(Array.isArray, "name"); writable: false,
verifyNotWritable(Array.isArray, "name"); enumerable: false,
verifyConfigurable(Array.isArray, "name"); configurable: true
});

View File

@ -17,8 +17,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.length, 1, 'The value of Array.length is expected to be 1'); verifyProperty(Array, "length", {
value: 1,
verifyNotEnumerable(Array, 'length'); writable: false,
verifyNotWritable(Array, 'length'); enumerable: false,
verifyConfigurable(Array, 'length'); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.name, 'Array', 'The value of Array.name is expected to be "Array"'); verifyProperty(Array, "name", {
value: "Array",
verifyNotEnumerable(Array, 'name'); writable: false,
verifyNotWritable(Array, 'name'); enumerable: false,
verifyConfigurable(Array, 'name'); configurable: true
});

View File

@ -11,11 +11,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.of, "length", {
Array.of.length, 0, value: 0,
'The value of Array.of.length is expected to be 0' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.of, 'length'); });
verifyNotWritable(Array.of, 'length');
verifyConfigurable(Array.of, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.of, "name", {
Array.of.name, 'of', value: "of",
'The value of Array.of.name is expected to be "of"' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.of, 'name'); });
verifyNotWritable(Array.of, 'name');
verifyConfigurable(Array.of, 'name');

View File

@ -18,11 +18,9 @@ assert.sameValue(
'The value of `typeof Array.prototype.at` is expected to be "function"' 'The value of `typeof Array.prototype.at` is expected to be "function"'
); );
assert.sameValue( verifyProperty(Array.prototype.at, "length", {
Array.prototype.at.length, 1, value: 1,
'The value of Array.prototype.at.length is expected to be 1' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.at, 'length'); });
verifyNotWritable(Array.prototype.at, 'length');
verifyConfigurable(Array.prototype.at, 'length');

View File

@ -25,8 +25,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.concat.length, 1, 'The value of Array.prototype.concat.length is expected to be 1'); verifyProperty(Array.prototype.concat, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.concat, 'length'); writable: false,
verifyNotWritable(Array.prototype.concat, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.concat, 'length'); configurable: true
});

View File

@ -19,12 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.concat, "name", {
Array.prototype.concat.name, value: "concat",
"concat", writable: false,
'The value of Array.prototype.concat.name is expected to be "concat"' enumerable: false,
); configurable: true
});
verifyNotEnumerable(Array.prototype.concat, "name");
verifyNotWritable(Array.prototype.concat, "name");
verifyConfigurable(Array.prototype.concat, "name");

View File

@ -10,11 +10,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.copyWithin, "length", {
Array.prototype.copyWithin.length, 2, value: 2,
'The value of `Array.prototype.copyWithin.length` is `2`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.copyWithin, 'length'); });
verifyNotWritable(Array.prototype.copyWithin, 'length');
verifyConfigurable(Array.prototype.copyWithin, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.copyWithin, "name", {
Array.prototype.copyWithin.name, 'copyWithin', value: "copyWithin",
'The value of `Array.prototype.copyWithin.name` is `"copyWithin"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.copyWithin, 'name'); });
verifyNotWritable(Array.prototype.copyWithin, 'name');
verifyConfigurable(Array.prototype.copyWithin, 'name');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.entries, "length", {
Array.prototype.entries.length, 0, value: 0,
'The value of `Array.prototype.entries.length` is `0`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.entries, 'length'); });
verifyNotWritable(Array.prototype.entries, 'length');
verifyConfigurable(Array.prototype.entries, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.entries, "name", {
Array.prototype.entries.name, 'entries', value: "entries",
'The value of `Array.prototype.entries.name` is `"entries"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.entries, 'name'); });
verifyNotWritable(Array.prototype.entries, 'name');
verifyConfigurable(Array.prototype.entries, 'name');

View File

@ -11,11 +11,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.every, "length", {
Array.prototype.every.length, 1, value: 1,
'The value of `Array.prototype.every.length` is `1`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.every, 'length'); });
verifyNotWritable(Array.prototype.every, 'length');
verifyConfigurable(Array.prototype.every, 'length');

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.every.name, "every"); verifyProperty(Array.prototype.every, "name", {
value: "every",
verifyNotEnumerable(Array.prototype.every, "name"); writable: false,
verifyNotWritable(Array.prototype.every, "name"); enumerable: false,
verifyConfigurable(Array.prototype.every, "name"); configurable: true
});

View File

@ -8,11 +8,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.fill, "length", {
Array.prototype.fill.length, 1, value: 1,
'The value of `Array.prototype.fill.length` is `1`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.fill, 'length'); });
verifyNotWritable(Array.prototype.fill, 'length');
verifyConfigurable(Array.prototype.fill, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.fill, "name", {
Array.prototype.fill.name, 'fill', value: "fill",
'The value of `Array.prototype.fill.name` is `"fill"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.fill, 'name'); });
verifyNotWritable(Array.prototype.fill, 'name');
verifyConfigurable(Array.prototype.fill, 'name');

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.filter.length, 1); verifyProperty(Array.prototype.filter, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.filter, 'length'); writable: false,
verifyNotWritable(Array.prototype.filter, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.filter, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.filter.name, "filter"); verifyProperty(Array.prototype.filter, "name", {
value: "filter",
verifyNotEnumerable(Array.prototype.filter, "name"); writable: false,
verifyNotWritable(Array.prototype.filter, "name"); enumerable: false,
verifyConfigurable(Array.prototype.filter, "name"); configurable: true
});

View File

@ -8,11 +8,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.find, "length", {
Array.prototype.find.length, 1, value: 1,
'The value of `Array.prototype.find.length` is `1`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.find, 'length'); });
verifyNotWritable(Array.prototype.find, 'length');
verifyConfigurable(Array.prototype.find, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.find, "name", {
Array.prototype.find.name, 'find', value: "find",
'The value of `Array.prototype.find.name` is `"find"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.find, 'name'); });
verifyNotWritable(Array.prototype.find, 'name');
verifyConfigurable(Array.prototype.find, 'name');

View File

@ -8,11 +8,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.findIndex, "length", {
Array.prototype.findIndex.length, 1, value: 1,
'The value of `Array.prototype.findIndex.length` is `1`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.findIndex, 'length'); });
verifyNotWritable(Array.prototype.findIndex, 'length');
verifyConfigurable(Array.prototype.findIndex, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.findIndex, "name", {
Array.prototype.findIndex.name, 'findIndex', value: "findIndex",
'The value of `Array.prototype.findIndex.name` is `"findIndex"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.findIndex, 'name'); });
verifyNotWritable(Array.prototype.findIndex, 'name');
verifyConfigurable(Array.prototype.findIndex, 'name');

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.forEach.length, 1); verifyProperty(Array.prototype.forEach, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.forEach, 'length'); writable: false,
verifyNotWritable(Array.prototype.forEach, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.forEach, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.forEach.name, "forEach"); verifyProperty(Array.prototype.forEach, "name", {
value: "forEach",
verifyNotEnumerable(Array.prototype.forEach, "name"); writable: false,
verifyNotWritable(Array.prototype.forEach, "name"); enumerable: false,
verifyConfigurable(Array.prototype.forEach, "name"); configurable: true
});

View File

@ -23,8 +23,9 @@ includes: [propertyHelper.js]
features: [Array.prototype.includes] features: [Array.prototype.includes]
---*/ ---*/
assert.sameValue(Array.prototype.includes.length, 1); verifyProperty(Array.prototype.includes, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.includes, "length"); writable: false,
verifyNotWritable(Array.prototype.includes, "length"); enumerable: false,
verifyConfigurable(Array.prototype.includes, "length"); configurable: true
});

View File

@ -20,8 +20,9 @@ includes: [propertyHelper.js]
features: [Array.prototype.includes] features: [Array.prototype.includes]
---*/ ---*/
assert.sameValue(Array.prototype.includes.name, "includes"); verifyProperty(Array.prototype.includes, "name", {
value: "includes",
verifyNotEnumerable(Array.prototype.includes, "name"); writable: false,
verifyNotWritable(Array.prototype.includes, "name"); enumerable: false,
verifyConfigurable(Array.prototype.includes, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.indexOf.length, 1); verifyProperty(Array.prototype.indexOf, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.indexOf, 'length'); writable: false,
verifyNotWritable(Array.prototype.indexOf, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.indexOf, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.indexOf.name, "indexOf"); verifyProperty(Array.prototype.indexOf, "name", {
value: "indexOf",
verifyNotEnumerable(Array.prototype.indexOf, "name"); writable: false,
verifyNotWritable(Array.prototype.indexOf, "name"); enumerable: false,
verifyConfigurable(Array.prototype.indexOf, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.join.length, 1); verifyProperty(Array.prototype.join, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.join, 'length'); writable: false,
verifyNotWritable(Array.prototype.join, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.join, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.join.name, "join"); verifyProperty(Array.prototype.join, "name", {
value: "join",
verifyNotEnumerable(Array.prototype.join, "name"); writable: false,
verifyNotWritable(Array.prototype.join, "name"); enumerable: false,
verifyConfigurable(Array.prototype.join, "name"); configurable: true
});

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.keys, "length", {
Array.prototype.keys.length, 0, value: 0,
'The value of `Array.prototype.keys.length` is `0`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.keys, 'length'); });
verifyNotWritable(Array.prototype.keys, 'length');
verifyConfigurable(Array.prototype.keys, 'length');

View File

@ -12,11 +12,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue( verifyProperty(Array.prototype.keys, "name", {
Array.prototype.keys.name, 'keys', value: "keys",
'The value of `Array.prototype.keys.name` is `"keys"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(Array.prototype.keys, 'name'); });
verifyNotWritable(Array.prototype.keys, 'name');
verifyConfigurable(Array.prototype.keys, 'name');

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.lastIndexOf.length, 1); verifyProperty(Array.prototype.lastIndexOf, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.lastIndexOf, 'length'); writable: false,
verifyNotWritable(Array.prototype.lastIndexOf, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.lastIndexOf, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.lastIndexOf.name, "lastIndexOf"); verifyProperty(Array.prototype.lastIndexOf, "name", {
value: "lastIndexOf",
verifyNotEnumerable(Array.prototype.lastIndexOf, "name"); writable: false,
verifyNotWritable(Array.prototype.lastIndexOf, "name"); enumerable: false,
verifyConfigurable(Array.prototype.lastIndexOf, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.map.length, 1); verifyProperty(Array.prototype.map, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.map, 'length'); writable: false,
verifyNotWritable(Array.prototype.map, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.map, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.map.name, "map"); verifyProperty(Array.prototype.map, "name", {
value: "map",
verifyNotEnumerable(Array.prototype.map, "name"); writable: false,
verifyNotWritable(Array.prototype.map, "name"); enumerable: false,
verifyConfigurable(Array.prototype.map, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.pop.length, 0); verifyProperty(Array.prototype.pop, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.pop, 'length'); writable: false,
verifyNotWritable(Array.prototype.pop, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.pop, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.pop.name, "pop"); verifyProperty(Array.prototype.pop, "name", {
value: "pop",
verifyNotEnumerable(Array.prototype.pop, "name"); writable: false,
verifyNotWritable(Array.prototype.pop, "name"); enumerable: false,
verifyConfigurable(Array.prototype.pop, "name"); configurable: true
});

View File

@ -25,8 +25,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.push.length, 1); verifyProperty(Array.prototype.push, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.push, 'length'); writable: false,
verifyNotWritable(Array.prototype.push, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.push, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.push.name, "push"); verifyProperty(Array.prototype.push, "name", {
value: "push",
verifyNotEnumerable(Array.prototype.push, "name"); writable: false,
verifyNotWritable(Array.prototype.push, "name"); enumerable: false,
verifyConfigurable(Array.prototype.push, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reduce.length, 1); verifyProperty(Array.prototype.reduce, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.reduce, 'length'); writable: false,
verifyNotWritable(Array.prototype.reduce, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.reduce, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reduce.name, "reduce"); verifyProperty(Array.prototype.reduce, "name", {
value: "reduce",
verifyNotEnumerable(Array.prototype.reduce, "name"); writable: false,
verifyNotWritable(Array.prototype.reduce, "name"); enumerable: false,
verifyConfigurable(Array.prototype.reduce, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reduceRight.length, 1); verifyProperty(Array.prototype.reduceRight, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.reduceRight, 'length'); writable: false,
verifyNotWritable(Array.prototype.reduceRight, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.reduceRight, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reduceRight.name, "reduceRight"); verifyProperty(Array.prototype.reduceRight, "name", {
value: "reduceRight",
verifyNotEnumerable(Array.prototype.reduceRight, "name"); writable: false,
verifyNotWritable(Array.prototype.reduceRight, "name"); enumerable: false,
verifyConfigurable(Array.prototype.reduceRight, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reverse.length, 0); verifyProperty(Array.prototype.reverse, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.reverse, 'length'); writable: false,
verifyNotWritable(Array.prototype.reverse, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.reverse, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.reverse.name, "reverse"); verifyProperty(Array.prototype.reverse, "name", {
value: "reverse",
verifyNotEnumerable(Array.prototype.reverse, "name"); writable: false,
verifyNotWritable(Array.prototype.reverse, "name"); enumerable: false,
verifyConfigurable(Array.prototype.reverse, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.shift.length, 0); verifyProperty(Array.prototype.shift, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.shift, 'length'); writable: false,
verifyNotWritable(Array.prototype.shift, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.shift, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.shift.name, "shift"); verifyProperty(Array.prototype.shift, "name", {
value: "shift",
verifyNotEnumerable(Array.prototype.shift, "name"); writable: false,
verifyNotWritable(Array.prototype.shift, "name"); enumerable: false,
verifyConfigurable(Array.prototype.shift, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.slice.length, 2); verifyProperty(Array.prototype.slice, "length", {
value: 2,
verifyNotEnumerable(Array.prototype.slice, 'length'); writable: false,
verifyNotWritable(Array.prototype.slice, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.slice, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.slice.name, "slice"); verifyProperty(Array.prototype.slice, "name", {
value: "slice",
verifyNotEnumerable(Array.prototype.slice, "name"); writable: false,
verifyNotWritable(Array.prototype.slice, "name"); enumerable: false,
verifyConfigurable(Array.prototype.slice, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.some.length, 1); verifyProperty(Array.prototype.some, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.some, 'length'); writable: false,
verifyNotWritable(Array.prototype.some, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.some, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.some.name, "some"); verifyProperty(Array.prototype.some, "name", {
value: "some",
verifyNotEnumerable(Array.prototype.some, "name"); writable: false,
verifyNotWritable(Array.prototype.some, "name"); enumerable: false,
verifyConfigurable(Array.prototype.some, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.sort.length, 1); verifyProperty(Array.prototype.sort, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.sort, 'length'); writable: false,
verifyNotWritable(Array.prototype.sort, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.sort, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.sort.name, "sort"); verifyProperty(Array.prototype.sort, "name", {
value: "sort",
verifyNotEnumerable(Array.prototype.sort, "name"); writable: false,
verifyNotWritable(Array.prototype.sort, "name"); enumerable: false,
verifyConfigurable(Array.prototype.sort, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.splice.length, 2); verifyProperty(Array.prototype.splice, "length", {
value: 2,
verifyNotEnumerable(Array.prototype.splice, 'length'); writable: false,
verifyNotWritable(Array.prototype.splice, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.splice, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.splice.name, "splice"); verifyProperty(Array.prototype.splice, "name", {
value: "splice",
verifyNotEnumerable(Array.prototype.splice, "name"); writable: false,
verifyNotWritable(Array.prototype.splice, "name"); enumerable: false,
verifyConfigurable(Array.prototype.splice, "name"); configurable: true
});

View File

@ -21,8 +21,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.toLocaleString.length, 0); verifyProperty(Array.prototype.toLocaleString, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.toLocaleString, 'length'); writable: false,
verifyNotWritable(Array.prototype.toLocaleString, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.toLocaleString, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.toLocaleString.name, "toLocaleString"); verifyProperty(Array.prototype.toLocaleString, "name", {
value: "toLocaleString",
verifyNotEnumerable(Array.prototype.toLocaleString, "name"); writable: false,
verifyNotWritable(Array.prototype.toLocaleString, "name"); enumerable: false,
verifyConfigurable(Array.prototype.toLocaleString, "name"); configurable: true
});

View File

@ -22,8 +22,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.toString.length, 0); verifyProperty(Array.prototype.toString, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.toString, "length"); writable: false,
verifyNotWritable(Array.prototype.toString, "length"); enumerable: false,
verifyConfigurable(Array.prototype.toString, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.toString.name, "toString"); verifyProperty(Array.prototype.toString, "name", {
value: "toString",
verifyNotEnumerable(Array.prototype.toString, "name"); writable: false,
verifyNotWritable(Array.prototype.toString, "name"); enumerable: false,
verifyConfigurable(Array.prototype.toString, "name"); configurable: true
});

View File

@ -25,8 +25,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.unshift.length, 1); verifyProperty(Array.prototype.unshift, "length", {
value: 1,
verifyNotEnumerable(Array.prototype.unshift, 'length'); writable: false,
verifyNotWritable(Array.prototype.unshift, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.unshift, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.unshift.name, "unshift"); verifyProperty(Array.prototype.unshift, "name", {
value: "unshift",
verifyNotEnumerable(Array.prototype.unshift, "name"); writable: false,
verifyNotWritable(Array.prototype.unshift, "name"); enumerable: false,
verifyConfigurable(Array.prototype.unshift, "name"); configurable: true
});

View File

@ -18,8 +18,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.values.length, 0); verifyProperty(Array.prototype.values, "length", {
value: 0,
verifyNotEnumerable(Array.prototype.values, 'length'); writable: false,
verifyNotWritable(Array.prototype.values, 'length'); enumerable: false,
verifyConfigurable(Array.prototype.values, 'length'); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Array.prototype.values.name, 'values'); verifyProperty(Array.prototype.values, "name", {
value: "values",
verifyNotEnumerable(Array.prototype.values, 'name'); writable: false,
verifyNotWritable(Array.prototype.values, 'name'); enumerable: false,
verifyConfigurable(Array.prototype.values, 'name'); configurable: true
});

View File

@ -25,8 +25,9 @@ features: [Symbol.species]
var desc = Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species); var desc = Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species);
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -15,11 +15,9 @@ includes: [propertyHelper.js]
var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species); var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species);
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, value: "get [Symbol.species]",
'get [Symbol.species]' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -22,8 +22,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(ArrayBuffer.isView.length, 1); verifyProperty(ArrayBuffer.isView, "length", {
value: 1,
verifyNotEnumerable(ArrayBuffer.isView, "length"); writable: false,
verifyNotWritable(ArrayBuffer.isView, "length"); enumerable: false,
verifyConfigurable(ArrayBuffer.isView, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(ArrayBuffer.isView.name, "isView"); verifyProperty(ArrayBuffer.isView, "name", {
value: "isView",
verifyNotEnumerable(ArrayBuffer.isView, "name"); writable: false,
verifyNotWritable(ArrayBuffer.isView, "name"); enumerable: false,
verifyConfigurable(ArrayBuffer.isView, "name"); configurable: true
});

View File

@ -24,8 +24,9 @@ includes: [propertyHelper.js]
var desc = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength"); var desc = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength");
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -17,11 +17,9 @@ var descriptor = Object.getOwnPropertyDescriptor(
ArrayBuffer.prototype, 'byteLength' ArrayBuffer.prototype, 'byteLength'
); );
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, 'get byteLength', value: "get byteLength",
'The value of `descriptor.get.name` is `"get byteLength"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -22,8 +22,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(ArrayBuffer.prototype.slice.length, 2); verifyProperty(ArrayBuffer.prototype.slice, "length", {
value: 2,
verifyNotEnumerable(ArrayBuffer.prototype.slice, "length"); writable: false,
verifyNotWritable(ArrayBuffer.prototype.slice, "length"); enumerable: false,
verifyConfigurable(ArrayBuffer.prototype.slice, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(ArrayBuffer.prototype.slice.name, "slice"); verifyProperty(ArrayBuffer.prototype.slice, "name", {
value: "slice",
verifyNotEnumerable(ArrayBuffer.prototype.slice, "name"); writable: false,
verifyNotWritable(ArrayBuffer.prototype.slice, "name"); enumerable: false,
verifyConfigurable(ArrayBuffer.prototype.slice, "name"); configurable: true
});

View File

@ -25,8 +25,9 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]()); var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
assert.sameValue(ArrayIteratorProto.next.length, 0); verifyProperty(ArrayIteratorProto.next, "length", {
value: 0,
verifyNotEnumerable(ArrayIteratorProto.next, "length"); writable: false,
verifyNotWritable(ArrayIteratorProto.next, "length"); enumerable: false,
verifyConfigurable(ArrayIteratorProto.next, "length"); configurable: true
});

View File

@ -22,8 +22,9 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]()); var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
assert.sameValue(ArrayIteratorProto.next.name, "next"); verifyProperty(ArrayIteratorProto.next, "name", {
value: "next",
verifyNotEnumerable(ArrayIteratorProto.next, "name"); writable: false,
verifyNotWritable(ArrayIteratorProto.next, "name"); enumerable: false,
verifyConfigurable(ArrayIteratorProto.next, "name"); configurable: true
});

View File

@ -10,7 +10,9 @@ includes: [propertyHelper.js]
---*/ ---*/
var AsyncFunction = async function foo() {}.constructor; var AsyncFunction = async function foo() {}.constructor;
assert.sameValue(AsyncFunction.length, 1); verifyProperty(AsyncFunction, "length", {
verifyNotWritable(AsyncFunction, 'length'); value: 1,
verifyNotEnumerable(AsyncFunction, 'length'); writable: false,
verifyConfigurable(AsyncFunction, 'length'); enumerable: false,
configurable: true
});

View File

@ -10,7 +10,9 @@ includes: [propertyHelper.js]
---*/ ---*/
var AsyncFunction = async function foo() {}.constructor; var AsyncFunction = async function foo() {}.constructor;
assert.sameValue(AsyncFunction.name, "AsyncFunction"); verifyProperty(AsyncFunction, "name", {
verifyNotWritable(AsyncFunction, "name"); value: "AsyncFunction",
verifyNotEnumerable(AsyncFunction, "name"); writable: false,
verifyConfigurable(AsyncFunction, "name"); enumerable: false,
configurable: true
});

View File

@ -10,7 +10,9 @@ includes: [propertyHelper.js]
async function foo() {}; async function foo() {};
assert.sameValue(foo.name, "foo"); verifyProperty(foo, "name", {
verifyNotWritable(foo, "name"); value: "foo",
verifyNotEnumerable(foo, "name"); writable: false,
verifyConfigurable(foo, "name"); enumerable: false,
configurable: true
});

View File

@ -22,8 +22,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Boolean.prototype.toString.length, 0); verifyProperty(Boolean.prototype.toString, "length", {
value: 0,
verifyNotEnumerable(Boolean.prototype.toString, "length"); writable: false,
verifyNotWritable(Boolean.prototype.toString, "length"); enumerable: false,
verifyConfigurable(Boolean.prototype.toString, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Boolean.prototype.toString.name, "toString"); verifyProperty(Boolean.prototype.toString, "name", {
value: "toString",
verifyNotEnumerable(Boolean.prototype.toString, "name"); writable: false,
verifyNotWritable(Boolean.prototype.toString, "name"); enumerable: false,
verifyConfigurable(Boolean.prototype.toString, "name"); configurable: true
});

View File

@ -22,8 +22,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Boolean.prototype.valueOf.length, 0); verifyProperty(Boolean.prototype.valueOf, "length", {
value: 0,
verifyNotEnumerable(Boolean.prototype.valueOf, "length"); writable: false,
verifyNotWritable(Boolean.prototype.valueOf, "length"); enumerable: false,
verifyConfigurable(Boolean.prototype.valueOf, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(Boolean.prototype.valueOf.name, "valueOf"); verifyProperty(Boolean.prototype.valueOf, "name", {
value: "valueOf",
verifyNotEnumerable(Boolean.prototype.valueOf, "name"); writable: false,
verifyNotWritable(Boolean.prototype.valueOf, "name"); enumerable: false,
verifyConfigurable(Boolean.prototype.valueOf, "name"); configurable: true
});

View File

@ -8,8 +8,9 @@ description: >
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.name, "DataView", "The value of `DataView.name` is `'DataView'`"); verifyProperty(DataView, "name", {
value: "DataView",
verifyNotEnumerable(DataView, "name"); writable: false,
verifyNotWritable(DataView, "name"); enumerable: false,
verifyConfigurable(DataView, "name"); configurable: true
});

View File

@ -24,8 +24,9 @@ includes: [propertyHelper.js]
var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "buffer"); var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "buffer");
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -17,11 +17,9 @@ var descriptor = Object.getOwnPropertyDescriptor(
DataView.prototype, 'buffer' DataView.prototype, 'buffer'
); );
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, 'get buffer', value: "get buffer",
'The value of `descriptor.get.name` is `"get buffer"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -24,8 +24,9 @@ includes: [propertyHelper.js]
var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "byteLength"); var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "byteLength");
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -17,11 +17,9 @@ var descriptor = Object.getOwnPropertyDescriptor(
DataView.prototype, 'byteLength' DataView.prototype, 'byteLength'
); );
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, 'get byteLength', value: "get byteLength",
'The value of `descriptor.get.name` is `"get byteLength"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -24,8 +24,9 @@ includes: [propertyHelper.js]
var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "byteOffset"); var desc = Object.getOwnPropertyDescriptor(DataView.prototype, "byteOffset");
assert.sameValue(desc.get.length, 0); verifyProperty(desc.get, "length", {
value: 0,
verifyNotEnumerable(desc.get, "length"); writable: false,
verifyNotWritable(desc.get, "length"); enumerable: false,
verifyConfigurable(desc.get, "length"); configurable: true
});

View File

@ -17,11 +17,9 @@ var descriptor = Object.getOwnPropertyDescriptor(
DataView.prototype, 'byteOffset' DataView.prototype, 'byteOffset'
); );
assert.sameValue( verifyProperty(descriptor.get, "name", {
descriptor.get.name, 'get byteOffset', value: "get byteOffset",
'The value of `descriptor.get.name` is `"get byteOffset"`' writable: false,
); enumerable: false,
configurable: true
verifyNotEnumerable(descriptor.get, 'name'); });
verifyNotWritable(descriptor.get, 'name');
verifyConfigurable(descriptor.get, 'name');

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getFloat32.length, 1); verifyProperty(DataView.prototype.getFloat32, "length", {
value: 1,
verifyNotEnumerable(DataView.prototype.getFloat32, "length"); writable: false,
verifyNotWritable(DataView.prototype.getFloat32, "length"); enumerable: false,
verifyConfigurable(DataView.prototype.getFloat32, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getFloat32.name, "getFloat32"); verifyProperty(DataView.prototype.getFloat32, "name", {
value: "getFloat32",
verifyNotEnumerable(DataView.prototype.getFloat32, "name"); writable: false,
verifyNotWritable(DataView.prototype.getFloat32, "name"); enumerable: false,
verifyConfigurable(DataView.prototype.getFloat32, "name"); configurable: true
});

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getFloat64.length, 1); verifyProperty(DataView.prototype.getFloat64, "length", {
value: 1,
verifyNotEnumerable(DataView.prototype.getFloat64, "length"); writable: false,
verifyNotWritable(DataView.prototype.getFloat64, "length"); enumerable: false,
verifyConfigurable(DataView.prototype.getFloat64, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getFloat64.name, "getFloat64"); verifyProperty(DataView.prototype.getFloat64, "name", {
value: "getFloat64",
verifyNotEnumerable(DataView.prototype.getFloat64, "name"); writable: false,
verifyNotWritable(DataView.prototype.getFloat64, "name"); enumerable: false,
verifyConfigurable(DataView.prototype.getFloat64, "name"); configurable: true
});

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getInt16.length, 1); verifyProperty(DataView.prototype.getInt16, "length", {
value: 1,
verifyNotEnumerable(DataView.prototype.getInt16, "length"); writable: false,
verifyNotWritable(DataView.prototype.getInt16, "length"); enumerable: false,
verifyConfigurable(DataView.prototype.getInt16, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getInt16.name, "getInt16"); verifyProperty(DataView.prototype.getInt16, "name", {
value: "getInt16",
verifyNotEnumerable(DataView.prototype.getInt16, "name"); writable: false,
verifyNotWritable(DataView.prototype.getInt16, "name"); enumerable: false,
verifyConfigurable(DataView.prototype.getInt16, "name"); configurable: true
});

View File

@ -23,8 +23,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getInt32.length, 1); verifyProperty(DataView.prototype.getInt32, "length", {
value: 1,
verifyNotEnumerable(DataView.prototype.getInt32, "length"); writable: false,
verifyNotWritable(DataView.prototype.getInt32, "length"); enumerable: false,
verifyConfigurable(DataView.prototype.getInt32, "length"); configurable: true
});

View File

@ -19,8 +19,9 @@ info: |
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
assert.sameValue(DataView.prototype.getInt32.name, "getInt32"); verifyProperty(DataView.prototype.getInt32, "name", {
value: "getInt32",
verifyNotEnumerable(DataView.prototype.getInt32, "name"); writable: false,
verifyNotWritable(DataView.prototype.getInt32, "name"); enumerable: false,
verifyConfigurable(DataView.prototype.getInt32, "name"); configurable: true
});

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