mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +02:00
Enable strict mode testing for sm/Proxy
This commit is contained in:
parent
1b58c83e0a
commit
d42f9fab12
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/assertThrowsValue.js]
|
includes: [sm/assertThrowsValue.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Scripted proxies' [[GetPrototypeOf]] behavior
|
Scripted proxies' [[GetPrototypeOf]] behavior
|
||||||
esid: pending
|
esid: pending
|
||||||
@ -228,8 +226,8 @@ targetProto = null;
|
|||||||
|
|
||||||
var regex = /targetProto/;
|
var regex = /targetProto/;
|
||||||
|
|
||||||
act1 = () => log.push("act1");
|
var act1 = () => log.push("act1");
|
||||||
act2 = () => log.push("act2");
|
var act2 = () => log.push("act2");
|
||||||
|
|
||||||
log.length = 0;
|
log.length = 0;
|
||||||
assert.sameValue(Object.getPrototypeOf(p), null);
|
assert.sameValue(Object.getPrototypeOf(p), null);
|
||||||
|
@ -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
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Don't assert when JSON.stringify is passed a revocable proxy to an array, then that proxy is revoked midflight during stringification
|
Don't assert when JSON.stringify is passed a revocable proxy to an array, then that proxy is revoked midflight during stringification
|
||||||
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: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Scripted proxies' [[OwnPropertyKeys]] should have linear complexity
|
Scripted proxies' [[OwnPropertyKeys]] should have linear complexity
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Scripted proxies' [[OwnPropertyKeys]] should not throw if the trap implementation returns duplicate properties and the object is non-extensible or has non-configurable properties. Revised (bug 1389752): Throw TypeError for duplicate properties.
|
Scripted proxies' [[OwnPropertyKeys]] should not throw if the trap implementation returns duplicate properties and the object is non-extensible or has non-configurable properties. Revised (bug 1389752): Throw TypeError for duplicate properties.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Behavior of __proto__ on ES6 proxies
|
Behavior of __proto__ on ES6 proxies
|
||||||
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: |
|
||||||
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: |
|
||||||
Proxy constructor should not throw if either the target or handler is a revoked proxy.
|
Proxy constructor should not throw if either the target or handler is a revoked proxy.
|
||||||
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: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Accessing a revocable proxy's [[Prototype]] shouldn't crash
|
Accessing a revocable proxy's [[Prototype]] shouldn't crash
|
||||||
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: |
|
||||||
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: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/assertThrowsValue.js]
|
includes: [sm/assertThrowsValue.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Scripted proxies' [[SetPrototypeOf]] behavior
|
Scripted proxies' [[SetPrototypeOf]] behavior
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
null as a trap value on a handler should operate on the target
|
null as a trap value on a handler should operate on the target
|
||||||
esid: pending
|
esid: pending
|
||||||
|
Loading…
x
Reference in New Issue
Block a user