15.12-0-1.js |
---
info: |
This test should be run without any built-ins being added/augmented.
The name JSON must be bound to an object.
4.2 calls out JSON as one of the built-in objects.
es5id: 15.12-0-1
description: JSON must be a built-in object
--- |
481 |
15.12-0-2.js |
---
info: |
This test should be run without any built-ins being added/augmented.
The name JSON must be bound to an object, and must not support [[Construct]].
step 4 in 11.2.2 should throw a TypeError exception.
es5id: 15.12-0-2
description: JSON must not support the [[Construct]] method
--- |
546 |
15.12-0-3.js |
---
info: |
This test should be run without any built-ins being added/augmented.
The name JSON must be bound to an object, and must not support [[Call]].
step 5 in 11.2.3 should throw a TypeError exception.
es5id: 15.12-0-3
description: JSON must not support the [[Call]] method
--- |
532 |
15.12-0-4.js |
---
info: |
This test should be run without any built-ins being added/augmented.
The last paragraph in section 15 says "every other property described
in this section has the attribute {... [[Enumerable]] : false ...}
unless otherwise specified. This default applies to the properties on
JSON, and we should not be able to enumerate them.
es5id: 15.12-0-4
description: JSON object's properties must be non enumerable
--- |
688 |
browser.js |
|
0 |
isRawJSON |
|
|
parse |
|
|
prop-desc.js |
---
esid: sec-json-object
description: >
Property descriptor of JSON
info: |
The JSON Object
...
The JSON object does not have a [[Construct]] internal method;
it is not possible to use the JSON object as a constructor with the new operator.
The JSON object does not have a [[Call]] internal method;
it is not possible to invoke the JSON object as a function.
17 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 18 through 26 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
--- |
1104 |
rawJSON |
|
|
shell.js |
|
0 |
stringify |
|
|
Symbol.toStringTag.js |
---
es6id: 24.3.3
description: >
`Symbol.toStringTag` property descriptor
info: |
The initial value of the @@toStringTag property is the String value
"JSON".
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Symbol.toStringTag]
--- |
676 |