browser.js |
|
0 |
json-extensibility-array.js |
---
esid: sec-parse-json-module
description: Creates extensible arrays
flags: [module]
includes: [propertyHelper.js]
features: [import-attributes, json-modules]
--- |
694 |
json-extensibility-object.js |
---
esid: sec-parse-json-module
description: Creates extensible objects
flags: [module]
includes: [propertyHelper.js]
features: [import-attributes, json-modules]
--- |
696 |
json-idempotency-indirect_FIXTURE.js |
|
288 |
json-idempotency.js |
---
esid: sec-parse-json-module
description: The same object representation is returned to all import sites
flags: [module, async]
features: [import-attributes, json-modules, globalThis, dynamic-import]
--- |
1025 |
json-idempotency_FIXTURE.json |
|
3 |
json-invalid.js |
---
esid: sec-parse-json-module
description: Does not define
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
flags: [module]
features: [import-attributes, json-modules]
negative:
phase: parse
type: SyntaxError
--- |
829 |
json-invalid_FIXTURE.json |
|
17 |
json-named-bindings.js |
---
esid: sec-parse-json-module
description: Does not define named bindings
info: |
In the early design of JSON modules, contributors considered allowing the
properties of object values in JSON modules to be imported directly by name.
This was ultimately rejected, so attempting to import in this way should
produce a SyntaxError.
flags: [module]
features: [import-attributes, json-modules]
negative:
phase: parse
type: SyntaxError
--- |
821 |
json-named-bindings_FIXTURE.json |
|
16 |
json-value-array.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of an array
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
To more fully verify parsing correctness, the source text of the imported
module record includes non-printable characters (specifically, all four forms
of JSON's so-called "whitespace" token) both before and after the "value."
flags: [module]
features: [import-attributes, json-modules]
--- |
1874 |
json-value-array_FIXTURE.json |
|
77 |
json-value-boolean.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of a boolean
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
flags: [module]
features: [import-attributes, json-modules]
--- |
845 |
json-value-boolean_FIXTURE.json |
|
5 |
json-value-null.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of null
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
flags: [module]
features: [import-attributes, json-modules]
--- |
837 |
json-value-null_FIXTURE.json |
|
5 |
json-value-number.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of a number
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
flags: [module]
features: [import-attributes, json-modules]
--- |
846 |
json-value-number_FIXTURE.json |
|
15 |
json-value-object.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of an ordinary object
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
To more fully verify parsing correctness, the source text of the imported
module record includes non-printable characters (specifically, all four forms
of JSON's so-called "whitespace" token) both before and after the "value."
flags: [module]
includes: [propertyHelper.js]
features: [import-attributes, json-modules]
--- |
2127 |
json-value-object_FIXTURE.json |
|
135 |
json-value-string.js |
---
esid: sec-parse-json-module
description: Correctly parses the JSON representation of a string
info: |
# 1.4 ParseJSONModule ( source )
The abstract operation ParseJSONModule takes a single argument source which
is a String representing the contents of a module.
1. Let json be ? Call(%JSON.parse%, undefined, « source »).
2. Return CreateDefaultExportSyntheticModule(json).
flags: [module]
features: [import-attributes, json-modules]
--- |
855 |
json-value-string_FIXTURE.json |
|
17 |
json-via-namespace.js |
---
esid: sec-parse-json-module
description: May be imported via a module namespace object
flags: [module]
features: [import-attributes, json-modules]
--- |
609 |
json-via-namespace_FIXTURE.json |
|
4 |
shell.js |
|
0 |