mirror of https://github.com/tc39/test262.git
re-run rewrite scripts
This commit is contained in:
parent
927a70d4df
commit
decf9f2526
|
@ -9,8 +9,9 @@ features: [Float16Array]
|
|||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
assert.sameValue(DataView.prototype.getFloat16.length, 1);
|
||||
|
||||
verifyNotEnumerable(DataView.prototype.getFloat16, "length");
|
||||
verifyNotWritable(DataView.prototype.getFloat16, "length");
|
||||
verifyConfigurable(DataView.prototype.getFloat16, "length");
|
||||
verifyProperty(DataView.prototype.getFloat16, "length", {
|
||||
value: 1,
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -9,8 +9,9 @@ features: [Float16Array]
|
|||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
assert.sameValue(DataView.prototype.getFloat16.name, "getFloat16");
|
||||
|
||||
verifyNotEnumerable(DataView.prototype.getFloat16, "name");
|
||||
verifyNotWritable(DataView.prototype.getFloat16, "name");
|
||||
verifyConfigurable(DataView.prototype.getFloat16, "name");
|
||||
verifyProperty(DataView.prototype.getFloat16, "name", {
|
||||
value: "getFloat16",
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -17,5 +17,5 @@ assert.sameValue(
|
|||
|
||||
assert.throws(TypeError, () => {
|
||||
let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat16(0, 0);
|
||||
}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat16(0, 0)` throws TypeError');
|
||||
});
|
||||
|
||||
|
|
|
@ -9,8 +9,9 @@ features: [Float16Array]
|
|||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
assert.sameValue(DataView.prototype.setFloat16.length, 2);
|
||||
|
||||
verifyNotEnumerable(DataView.prototype.setFloat16, "length");
|
||||
verifyNotWritable(DataView.prototype.setFloat16, "length");
|
||||
verifyConfigurable(DataView.prototype.setFloat16, "length");
|
||||
verifyProperty(DataView.prototype.setFloat16, "length", {
|
||||
value: 2,
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -9,8 +9,9 @@ features: [Float16Array]
|
|||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
assert.sameValue(DataView.prototype.setFloat16.name, "setFloat16");
|
||||
|
||||
verifyNotEnumerable(DataView.prototype.setFloat16, "name");
|
||||
verifyNotWritable(DataView.prototype.setFloat16, "name");
|
||||
verifyConfigurable(DataView.prototype.setFloat16, "name");
|
||||
verifyProperty(DataView.prototype.setFloat16, "name", {
|
||||
value: "setFloat16",
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -17,5 +17,5 @@ assert.sameValue(
|
|||
|
||||
assert.throws(TypeError, () => {
|
||||
let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat16(0, 0);
|
||||
}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat16(0, 0)` throws TypeError');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue