mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 03:28:50 +02:00
Enable strict mode testing for sm/JSON
This commit is contained in:
parent
62310eaf2a
commit
1b4972e329
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.stringify shouldn't use context-wide cycle detection
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits)
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.parse handling of omitted arguments
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.parse should parse arrays of essentially unlimited size
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.parse with a reviver which elides array elements
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Stringification of Boolean/String/Number objects
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Call replacer function exactly once per value
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Stringification of Boolean/String/Number objects
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.stringify(_1, _2, numberGreaterThanOne) produces wrong output
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
If the toJSON property isn't callable, don't try to call it
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.stringify with a large replacer array
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.stringify with no arguments
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Treat non-array, non-callable replacers as if none had been specified
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Boxed-string/number objects in replacer arrays
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Better/more correct handling for replacer arrays with getter array index properties
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Better/more correct handling for replacer arrays with getter array index properties
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Better/more correct handling for replacer arrays with getter array index properties
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Better/more correct handling for replacer arrays with getter array index properties
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Better/more correct handling for replacer arrays with trailing holes through which inherited elements might appear
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Call the replacer function for array elements with stringified indexes
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
JSON.stringify of \\b\\f\\n\\r\\t should use one-character escapes, not hex
|
||||
esid: pending
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Arguments when an object's toJSON method is called
|
||||
esid: pending
|
||||
|
@ -2,8 +2,6 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
pending
|
||||
esid: pending
|
||||
|
Loading…
x
Reference in New Issue
Block a user