diff --git a/test/language/import/json-extensibility-array.js b/test/language/import/json-extensibility-array.js index 3d2ae3520a..4dc80018b9 100644 --- a/test/language/import/json-extensibility-array.js +++ b/test/language/import/json-extensibility-array.js @@ -5,7 +5,7 @@ esid: sec-parse-json-module description: Creates extensible arrays flags: [module] includes: [propertyHelper.js] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-array_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-extensibility-object.js b/test/language/import/json-extensibility-object.js index 2004cc0c33..fb4c8ed2c4 100644 --- a/test/language/import/json-extensibility-object.js +++ b/test/language/import/json-extensibility-object.js @@ -5,7 +5,7 @@ esid: sec-parse-json-module description: Creates extensible objects flags: [module] includes: [propertyHelper.js] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-object_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-idempotency.js b/test/language/import/json-idempotency.js index c75644c324..54832a1cad 100644 --- a/test/language/import/json-idempotency.js +++ b/test/language/import/json-idempotency.js @@ -4,7 +4,7 @@ esid: sec-parse-json-module description: The same object representation is returned to all import sites flags: [module, async] -features: [json-modules, globalThis, dynamic-import] +features: [import-assertions, json-modules, globalThis, dynamic-import] ---*/ import viaStaticImport1 from './json-idempotency_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-invalid.js b/test/language/import/json-invalid.js index 9e118beec0..855d8566f7 100644 --- a/test/language/import/json-invalid.js +++ b/test/language/import/json-invalid.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] negative: phase: parse type: SyntaxError diff --git a/test/language/import/json-named-bindings.js b/test/language/import/json-named-bindings.js index e1dc37350a..7900fe38f8 100644 --- a/test/language/import/json-named-bindings.js +++ b/test/language/import/json-named-bindings.js @@ -9,7 +9,7 @@ info: | This was ultimately rejected, so attempting to import in this way should produce a SyntaxError. flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] negative: phase: parse type: SyntaxError diff --git a/test/language/import/json-value-array.js b/test/language/import/json-value-array.js index 66a59b4aca..90d64b96d9 100644 --- a/test/language/import/json-value-array.js +++ b/test/language/import/json-value-array.js @@ -16,7 +16,7 @@ info: | 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: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-array_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-value-boolean.js b/test/language/import/json-value-boolean.js index faa2320a90..0ab3fd371e 100644 --- a/test/language/import/json-value-boolean.js +++ b/test/language/import/json-value-boolean.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-boolean_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-value-null.js b/test/language/import/json-value-null.js index af955c4bfc..cb651b33b0 100644 --- a/test/language/import/json-value-null.js +++ b/test/language/import/json-value-null.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-null_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-value-number.js b/test/language/import/json-value-number.js index 3113fd4741..da4cada9d2 100644 --- a/test/language/import/json-value-number.js +++ b/test/language/import/json-value-number.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-number_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-value-object.js b/test/language/import/json-value-object.js index 242b472f98..815ab9f896 100644 --- a/test/language/import/json-value-object.js +++ b/test/language/import/json-value-object.js @@ -17,7 +17,7 @@ info: | of JSON's so-called "whitespace" token) both before and after the "value." flags: [module] includes: [propertyHelper.js] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-object_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-value-string.js b/test/language/import/json-value-string.js index c1da4d7e84..ce0ebcf323 100644 --- a/test/language/import/json-value-string.js +++ b/test/language/import/json-value-string.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import value from './json-value-string_FIXTURE.json' assert { type: 'json' }; diff --git a/test/language/import/json-via-namespace.js b/test/language/import/json-via-namespace.js index 780bd614fb..f0eedb379b 100644 --- a/test/language/import/json-via-namespace.js +++ b/test/language/import/json-via-namespace.js @@ -4,7 +4,7 @@ esid: sec-parse-json-module description: May be imported via a module namespace object flags: [module] -features: [json-modules] +features: [import-assertions, json-modules] ---*/ import * as ns from './json-via-namespace_FIXTURE.json' assert { type: 'json' };