Enable strict mode testing for sm/Proxy

This commit is contained in:
André Bargull 2025-04-30 14:16:36 +02:00 committed by Philip Chimento
parent 1b58c83e0a
commit d42f9fab12
16 changed files with 2 additions and 34 deletions

View File

@ -5,8 +5,6 @@
/*---
includes: [sm/assertThrowsValue.js]
flags:
- noStrict
description: |
Scripted proxies' [[GetPrototypeOf]] behavior
esid: pending
@ -228,8 +226,8 @@ targetProto = null;
var regex = /targetProto/;
act1 = () => log.push("act1");
act2 = () => log.push("act2");
var act1 = () => log.push("act1");
var act2 = () => log.push("act2");
log.length = 0;
assert.sameValue(Object.getPrototypeOf(p), null);

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Don't assert when JSON.stringify is passed a revocable proxy to an array, then that proxy is revoked midflight during stringification
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Scripted proxies' [[OwnPropertyKeys]] should have linear complexity
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
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.
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Behavior of __proto__ on ES6 proxies
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Proxy constructor should not throw if either the target or handler is a revoked proxy.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Accessing a revocable proxy's [[Prototype]] shouldn't crash
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -5,8 +5,6 @@
/*---
includes: [sm/assertThrowsValue.js]
flags:
- noStrict
description: |
Scripted proxies' [[SetPrototypeOf]] behavior
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
null as a trap value on a handler should operate on the target
esid: pending