Name Description Size
browser.js 0
json-extensibility-array.js --- esid: sec-parse-json-module description: Creates extensible arrays flags: [module] includes: [propertyHelper.js] features: [import-assertions, json-modules] --- 696
json-extensibility-object.js --- esid: sec-parse-json-module description: Creates extensible objects flags: [module] includes: [propertyHelper.js] features: [import-assertions, json-modules] --- 698
json-idempotency-indirect_FIXTURE.js 290
json-idempotency.js --- esid: sec-parse-json-module description: The same object representation is returned to all import sites flags: [module, async] features: [import-assertions, json-modules, globalThis, dynamic-import] --- 1031
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-assertions, json-modules] negative: phase: parse type: SyntaxError --- 831
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-assertions, json-modules] negative: phase: parse type: SyntaxError --- 823
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-assertions, json-modules] --- 1876
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-assertions, json-modules] --- 847
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-assertions, json-modules] --- 839
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-assertions, json-modules] --- 848
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-assertions, json-modules] --- 2129
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-assertions, json-modules] --- 857
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-assertions, json-modules] --- 611
json-via-namespace_FIXTURE.json 4
README.md Make sure to keep the tests in this folder aligned 99
shell.js 0