mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +02:00
Enable strict mode testing for sm/DataView
This commit is contained in:
parent
2fce7b7985
commit
6e1eba2a09
@ -2,16 +2,14 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var buf = new ArrayBuffer([1,2]);
|
var buf = new ArrayBuffer([1,2]);
|
||||||
var bufView = new DataView(buf);
|
var bufView = new DataView(buf);
|
||||||
|
|
||||||
$262.detachArrayBuffer(buf);
|
$262.detachArrayBuffer(buf);
|
||||||
|
|
||||||
assert.throws(TypeError, () => bufView.getInt8(0));
|
assert.throws(TypeError, () => bufView.getInt8(0));
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
DataView getters should have get prefix
|
DataView getters should have get prefix
|
||||||
esid: pending
|
esid: pending
|
||||||
|
Loading…
x
Reference in New Issue
Block a user