diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-expr.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-expr.js index 966ab94369..b34f708fef 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-expr.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-expr.js @@ -8,7 +8,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions, async-functions] +features: [dynamic-import, import-attributes, async-functions] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-ident.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-ident.js index d13ca53b20..fa90559510 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-ident.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-await-ident.js @@ -8,7 +8,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions, async-functions] +features: [dynamic-import, import-attributes, async-functions] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-return.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-return.js index 6da4a5482b..5c68a62c5b 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-return.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-return.js @@ -12,7 +12,7 @@ info: | a. Let optionsRef be the result of evaluating optionsExpression. b. Let options be ? GetValue(optionsRef). [...] -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] ---*/ var beforeCount = 0; diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-throw.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-throw.js index e5e6619096..8158062431 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-throw.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-abrupt-throw.js @@ -12,7 +12,7 @@ info: | a. Let optionsRef be the result of evaluating optionsExpression. b. Let options be ? GetValue(optionsRef). [...] -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] ---*/ var beforeCount = 0; diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-sequence.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-sequence.js index 9795c4bada..faabee3dd3 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-sequence.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-evaluation-sequence.js @@ -12,7 +12,7 @@ info: | a. Let optionsRef be the result of evaluating optionsExpression. b. Let options be ? GetValue(optionsRef). [...] -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] ---*/ var log = []; diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-get-with-error.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-get-with-error.js index d7bb7d8c04..dc5ca30a09 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-get-with-error.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-get-with-error.js @@ -16,13 +16,13 @@ info: | b. Let assertionsObj be Get(options, "assert"). c. IfAbruptRejectPromise(assertionsObj, promiseCapability). [...] -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ var thrown = new Test262Error(); var options = { - get assert() { + get with() { throw thrown; } }; diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-in.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-in.js index 6d8ac2b0eb..4c95100d5f 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-in.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-in.js @@ -7,7 +7,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-non-object.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-non-object.js index 28b6e573d1..7662f5207f 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-non-object.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-non-object.js @@ -16,7 +16,7 @@ info: | i. Perform ! Call(promiseCapability.[[Reject]], undefined, « a newly created TypeError object »). ii. Return promiseCapability.[[Promise]]. [...] -features: [dynamic-import, import-assertions, Symbol, BigInt] +features: [dynamic-import, import-attributes, Symbol, BigInt] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-fulfill.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-fulfill.js index c806f3e683..00970398da 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-fulfill.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-fulfill.js @@ -9,7 +9,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-reject.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-reject.js index 3970c745b6..83fef2d95d 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-reject.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-trailing-comma-reject.js @@ -9,7 +9,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-abrupt.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-abrupt.js index 282c7613aa..af1466a7ba 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-abrupt.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-abrupt.js @@ -21,13 +21,13 @@ info: | ii. Let keys be EnumerableOwnPropertyNames(assertionsObj, key). iii. IfAbruptRejectPromise(keys, promiseCapability). [...] -features: [dynamic-import, import-assertions, Proxy] +features: [dynamic-import, import-attributes, Proxy] flags: [async] ---*/ var thrown = new Test262Error(); var options = { - assert: new Proxy({}, { + with: new Proxy({}, { ownKeys: function() { throw thrown; }, diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-enumerable.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-enumerable.js index 341eb4d1d8..fda9375a0f 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-enumerable.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration-enumerable.js @@ -22,7 +22,7 @@ info: | [...] ii. Let keys be EnumerableOwnPropertyNames(assertionsObj, key). [...] -features: [dynamic-import, import-assertions, json-modules, Symbol, Proxy] +features: [dynamic-import, import-attributes, json-modules, Symbol, Proxy] flags: [async] ---*/ @@ -36,7 +36,7 @@ var descriptors = { var log = []; var options = { - assert: new Proxy({}, { + with: new Proxy({}, { ownKeys: function() { return ["type"]; }, diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration.js index cfa9d28a8f..a7e21401b2 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-enumeration.js @@ -22,7 +22,7 @@ info: | [...] ii. Let keys be EnumerableOwnPropertyNames(assertionsObj, key). [...] -features: [dynamic-import, import-assertions, Symbol, Proxy] +features: [dynamic-import, import-attributes, Symbol, Proxy] flags: [async] ---*/ @@ -38,7 +38,7 @@ var descriptors = { }; var options = { - assert: new Proxy({}, { + with: new Proxy({}, { ownKeys: function() { return [symbol, 'nonEnumerable', 'absent']; }, diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-non-object.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-non-object.js index d685ee83d3..710890b14d 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-non-object.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-non-object.js @@ -23,7 +23,7 @@ info: | newly created TypeError object »). 2. Return promiseCapability.[[Promise]]. [...] -features: [dynamic-import, import-assertions, Symbol, BigInt] +features: [dynamic-import, import-attributes, Symbol, BigInt] flags: [async] ---*/ @@ -36,12 +36,12 @@ function test(promise, valueType) { } Promise.all([ - test(import('./2nd-param_FIXTURE.js', {assert:null}), 'null'), - test(import('./2nd-param_FIXTURE.js', {assert:false}), 'boolean'), - test(import('./2nd-param_FIXTURE.js', {assert:23}), 'number'), - test(import('./2nd-param_FIXTURE.js', {assert:''}), 'string'), - test(import('./2nd-param_FIXTURE.js', {assert:Symbol('')}), 'symbol'), - test(import('./2nd-param_FIXTURE.js', {assert:23n}), 'bigint') + test(import('./2nd-param_FIXTURE.js', {with:null}), 'null'), + test(import('./2nd-param_FIXTURE.js', {with:false}), 'boolean'), + test(import('./2nd-param_FIXTURE.js', {with:23}), 'number'), + test(import('./2nd-param_FIXTURE.js', {with:''}), 'string'), + test(import('./2nd-param_FIXTURE.js', {with:Symbol('')}), 'symbol'), + test(import('./2nd-param_FIXTURE.js', {with:23n}), 'bigint') ]) .then(function() {}) .then($DONE, $DONE); diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-undefined.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-undefined.js index bdd4003d38..5565a2ffd4 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-undefined.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-undefined.js @@ -21,13 +21,13 @@ info: | newly created TypeError object »). 2. Return promiseCapability.[[Promise]]. [...] -features: [dynamic-import, import-assertions, Symbol, BigInt] +features: [dynamic-import, import-attributes, Symbol, BigInt] flags: [async] ---*/ Promise.all([ import('./2nd-param_FIXTURE.js', {}), - import('./2nd-param_FIXTURE.js', {assert:undefined}), + import('./2nd-param_FIXTURE.js', {with:undefined}), ]) .then(function(values) { assert.sameValue(values[0].default, 262); diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-abrupt.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-abrupt.js index e840a71950..1887326ebd 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-abrupt.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-abrupt.js @@ -19,13 +19,13 @@ info: | 1. Let value be Get(assertionsObj, key). 2. IfAbruptRejectPromise(value, promiseCapability). [...] -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ var thrown = new Test262Error(); -import('./2nd-param_FIXTURE.js', {assert:{get ''() { throw thrown; }}}) +import('./2nd-param_FIXTURE.js', {with:{get ''() { throw thrown; }}}) .then(function() { throw new Test262Error('Expected promise to be rejected, but it was fulfilled'); }, function(error) { diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-non-string.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-non-string.js index aa71b1c282..11bb880eff 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-non-string.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-with-value-non-string.js @@ -22,7 +22,7 @@ info: | newly created TypeError object »). b. Return promiseCapability.[[Promise]]. [...] -features: [dynamic-import, import-assertions, Symbol, BigInt] +features: [dynamic-import, import-attributes, Symbol, BigInt] flags: [async] ---*/ @@ -35,13 +35,13 @@ function test(promise, valueType) { } Promise.all([ - test(import('./2nd-param_FIXTURE.js', {assert:{'': undefined}}), 'undefined'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': null}}), 'null'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': false}}), 'boolean'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': 23}}), 'number'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': Symbol('')}}), 'symbol'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': 23n}}), 'bigint'), - test(import('./2nd-param_FIXTURE.js', {assert:{'': {}}}), 'object') + test(import('./2nd-param_FIXTURE.js', {with:{'': undefined}}), 'undefined'), + test(import('./2nd-param_FIXTURE.js', {with:{'': null}}), 'null'), + test(import('./2nd-param_FIXTURE.js', {with:{'': false}}), 'boolean'), + test(import('./2nd-param_FIXTURE.js', {with:{'': 23}}), 'number'), + test(import('./2nd-param_FIXTURE.js', {with:{'': Symbol('')}}), 'symbol'), + test(import('./2nd-param_FIXTURE.js', {with:{'': 23n}}), 'bigint'), + test(import('./2nd-param_FIXTURE.js', {with:{'': {}}}), 'object') ]) .then(function() {}) .then($DONE, $DONE); diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-expr.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-expr.js index b1482ac9e8..dc001512d4 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-expr.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-expr.js @@ -8,7 +8,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-invalid.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-invalid.js index 56971e8031..304562c714 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-invalid.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-invalid.js @@ -8,7 +8,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [onlyStrict] negative: phase: parse diff --git a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-valid.js b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-valid.js index 39a8fe7d6e..19224503a3 100644 --- a/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-valid.js +++ b/test/language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-valid.js @@ -8,7 +8,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async, noStrict] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/trailing-comma-fulfill.js b/test/language/expressions/dynamic-import/import-attributes/trailing-comma-fulfill.js index 0d3689b37e..8b8b0a04a6 100644 --- a/test/language/expressions/dynamic-import/import-attributes/trailing-comma-fulfill.js +++ b/test/language/expressions/dynamic-import/import-attributes/trailing-comma-fulfill.js @@ -9,7 +9,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/expressions/dynamic-import/import-attributes/trailing-comma-reject.js b/test/language/expressions/dynamic-import/import-attributes/trailing-comma-reject.js index d257eccc32..053b489c5b 100644 --- a/test/language/expressions/dynamic-import/import-attributes/trailing-comma-reject.js +++ b/test/language/expressions/dynamic-import/import-attributes/trailing-comma-reject.js @@ -9,7 +9,7 @@ info: | ImportCall[Yield, Await]: import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt ) import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt ) -features: [dynamic-import, import-assertions] +features: [dynamic-import, import-attributes] flags: [async] ---*/ diff --git a/test/language/import/import-attributes/json-extensibility-array.js b/test/language/import/import-attributes/json-extensibility-array.js index 4dc80018b9..8fb21c6bd6 100644 --- a/test/language/import/import-attributes/json-extensibility-array.js +++ b/test/language/import/import-attributes/json-extensibility-array.js @@ -5,10 +5,10 @@ esid: sec-parse-json-module description: Creates extensible arrays flags: [module] includes: [propertyHelper.js] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-array_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-array_FIXTURE.json' with { type: 'json' }; value.test262property = 'test262 value'; diff --git a/test/language/import/import-attributes/json-extensibility-object.js b/test/language/import/import-attributes/json-extensibility-object.js index fb4c8ed2c4..3cdeb79bf6 100644 --- a/test/language/import/import-attributes/json-extensibility-object.js +++ b/test/language/import/import-attributes/json-extensibility-object.js @@ -5,10 +5,10 @@ esid: sec-parse-json-module description: Creates extensible objects flags: [module] includes: [propertyHelper.js] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-object_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-object_FIXTURE.json' with { type: 'json' }; value.test262property = 'test262 value'; diff --git a/test/language/import/import-attributes/json-idempotency-indirect_FIXTURE.js b/test/language/import/import-attributes/json-idempotency-indirect_FIXTURE.js index 61c440b333..15f28b68b7 100644 --- a/test/language/import/import-attributes/json-idempotency-indirect_FIXTURE.js +++ b/test/language/import/import-attributes/json-idempotency-indirect_FIXTURE.js @@ -1,6 +1,6 @@ // Copyright (C) 2021 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -import value from './json-idempotency_FIXTURE.json' assert { type: 'json' }; +import value from './json-idempotency_FIXTURE.json' with { type: 'json' }; globalThis.viaSecondModule = value; diff --git a/test/language/import/import-attributes/json-idempotency.js b/test/language/import/import-attributes/json-idempotency.js index 54832a1cad..e2c1b8e9d9 100644 --- a/test/language/import/import-attributes/json-idempotency.js +++ b/test/language/import/import-attributes/json-idempotency.js @@ -4,17 +4,17 @@ 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] +features: [import-attributes, json-modules, globalThis, dynamic-import] ---*/ -import viaStaticImport1 from './json-idempotency_FIXTURE.json' assert { type: 'json' }; -import {default as viaStaticImport2} from './json-idempotency_FIXTURE.json' assert { type: 'json' }; +import viaStaticImport1 from './json-idempotency_FIXTURE.json' with { type: 'json' }; +import {default as viaStaticImport2} from './json-idempotency_FIXTURE.json' with { type: 'json' }; import './json-idempotency-indirect_FIXTURE.js'; assert.sameValue(viaStaticImport1, viaStaticImport2); assert.sameValue(globalThis.viaSecondModule, viaStaticImport1); -import('./json-idempotency_FIXTURE.json', { assert: { type: 'json' } }) +import('./json-idempotency_FIXTURE.json', { with: { type: 'json' } }) .then(function(viaDynamicImport) { assert.sameValue(viaDynamicImport.default, viaStaticImport1); }) diff --git a/test/language/import/import-attributes/json-invalid.js b/test/language/import/import-attributes/json-invalid.js index 855d8566f7..490083940f 100644 --- a/test/language/import/import-attributes/json-invalid.js +++ b/test/language/import/import-attributes/json-invalid.js @@ -12,7 +12,7 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] negative: phase: parse type: SyntaxError @@ -20,4 +20,4 @@ negative: $DONOTEVALUATE(); -import value from './json-invalid_FIXTURE.json' assert { type: 'json' }; +import value from './json-invalid_FIXTURE.json' with { type: 'json' }; diff --git a/test/language/import/import-attributes/json-named-bindings.js b/test/language/import/import-attributes/json-named-bindings.js index 7900fe38f8..01873fe99e 100644 --- a/test/language/import/import-attributes/json-named-bindings.js +++ b/test/language/import/import-attributes/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: [import-assertions, json-modules] +features: [import-attributes, json-modules] negative: phase: parse type: SyntaxError @@ -17,4 +17,4 @@ negative: $DONOTEVALUATE(); -import {name} from './json-named-bindings_FIXTURE.json' assert { type: 'json' }; +import {name} from './json-named-bindings_FIXTURE.json' with { type: 'json' }; diff --git a/test/language/import/import-attributes/json-value-array.js b/test/language/import/import-attributes/json-value-array.js index 90d64b96d9..e819357e66 100644 --- a/test/language/import/import-attributes/json-value-array.js +++ b/test/language/import/import-attributes/json-value-array.js @@ -16,10 +16,10 @@ 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: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-array_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-array_FIXTURE.json' with { type: 'json' }; assert(Array.isArray(value), 'the exported value is an array'); assert.sameValue( diff --git a/test/language/import/import-attributes/json-value-boolean.js b/test/language/import/import-attributes/json-value-boolean.js index 0ab3fd371e..82433ef8df 100644 --- a/test/language/import/import-attributes/json-value-boolean.js +++ b/test/language/import/import-attributes/json-value-boolean.js @@ -12,9 +12,9 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-boolean_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-boolean_FIXTURE.json' with { type: 'json' }; assert.sameValue(value, true); diff --git a/test/language/import/import-attributes/json-value-null.js b/test/language/import/import-attributes/json-value-null.js index cb651b33b0..cbc8e435e7 100644 --- a/test/language/import/import-attributes/json-value-null.js +++ b/test/language/import/import-attributes/json-value-null.js @@ -12,9 +12,9 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-null_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-null_FIXTURE.json' with { type: 'json' }; assert.sameValue(value, null); diff --git a/test/language/import/import-attributes/json-value-number.js b/test/language/import/import-attributes/json-value-number.js index da4cada9d2..0c5a9f322f 100644 --- a/test/language/import/import-attributes/json-value-number.js +++ b/test/language/import/import-attributes/json-value-number.js @@ -12,9 +12,9 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-number_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-number_FIXTURE.json' with { type: 'json' }; assert.sameValue(value, -1.2345); diff --git a/test/language/import/import-attributes/json-value-object.js b/test/language/import/import-attributes/json-value-object.js index 815ab9f896..b8d7a9f0aa 100644 --- a/test/language/import/import-attributes/json-value-object.js +++ b/test/language/import/import-attributes/json-value-object.js @@ -17,10 +17,10 @@ info: | of JSON's so-called "whitespace" token) both before and after the "value." flags: [module] includes: [propertyHelper.js] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-object_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-object_FIXTURE.json' with { type: 'json' }; assert.sameValue(Object.getPrototypeOf(value), Object.prototype); assert.sameValue(Object.getOwnPropertyNames(value).length, 6); diff --git a/test/language/import/import-attributes/json-value-string.js b/test/language/import/import-attributes/json-value-string.js index ce0ebcf323..5e5ce171a8 100644 --- a/test/language/import/import-attributes/json-value-string.js +++ b/test/language/import/import-attributes/json-value-string.js @@ -12,9 +12,9 @@ info: | 1. Let json be ? Call(%JSON.parse%, undefined, « source »). 2. Return CreateDefaultExportSyntheticModule(json). flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import value from './json-value-string_FIXTURE.json' assert { type: 'json' }; +import value from './json-value-string_FIXTURE.json' with { type: 'json' }; assert.sameValue(value, 'a string value'); diff --git a/test/language/import/import-attributes/json-via-namespace.js b/test/language/import/import-attributes/json-via-namespace.js index f0eedb379b..0ce54422d2 100644 --- a/test/language/import/import-attributes/json-via-namespace.js +++ b/test/language/import/import-attributes/json-via-namespace.js @@ -4,10 +4,10 @@ esid: sec-parse-json-module description: May be imported via a module namespace object flags: [module] -features: [import-assertions, json-modules] +features: [import-attributes, json-modules] ---*/ -import * as ns from './json-via-namespace_FIXTURE.json' assert { type: 'json' }; +import * as ns from './json-via-namespace_FIXTURE.json' with { type: 'json' }; assert.sameValue(Object.getOwnPropertyNames(ns).length, 1); assert.sameValue(ns.default, 262); diff --git a/test/language/module-code/import-attributes/allow-nlt-before-with.js b/test/language/module-code/import-attributes/allow-nlt-before-with.js new file mode 100644 index 0000000000..4bfe15e17c --- /dev/null +++ b/test/language/module-code/import-attributes/allow-nlt-before-with.js @@ -0,0 +1,33 @@ +// Copyright (C) 2021 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +description: > + `with` AttributesKeyword in WithClause in ImportDeclaration can + be preceded by a line terminator +esid: sec-modules +info: | + ImportDeclaration: + import ModuleSpecifier[no LineTerminator here] WithClause; + + WithClause: + AttributesKeyword {} + AttributesKeyword { WithEntries ,opt } + + AttributesKeyword: + with + [no LineTerminator here] assert + +negative: + phase: resolution + type: SyntaxError +features: [import-attributes, globalThis] +flags: [module, raw] +---*/ + +throw "Test262: This statement should not be evaluated."; + +import "./ensure-linking-error_FIXTURE.js"; + +import * as x from './import-attribute-1_FIXTURE.js' +with +{ type: 'foo' }; diff --git a/test/language/module-code/import-attributes/early-dup-attribute-key-export.js b/test/language/module-code/import-attributes/early-dup-attribute-key-export.js index 9f44e359a0..27022fcf60 100644 --- a/test/language/module-code/import-attributes/early-dup-attribute-key-export.js +++ b/test/language/module-code/import-attributes/early-dup-attribute-key-export.js @@ -8,7 +8,7 @@ info: | - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. -features: [import-assertions] +features: [import-attributes] flags: [module] negative: phase: parse @@ -17,7 +17,7 @@ negative: $DONOTEVALUATE(); -export * from './import-assertion-3_FIXTURE.js' assert { +export * from './import-attribute-3_FIXTURE.js' with { type: 'json', 'typ\u0065': '' }; diff --git a/test/language/module-code/import-attributes/early-dup-attribute-key-import-nobinding.js b/test/language/module-code/import-attributes/early-dup-attribute-key-import-nobinding.js index 7c48699630..08492373a6 100644 --- a/test/language/module-code/import-attributes/early-dup-attribute-key-import-nobinding.js +++ b/test/language/module-code/import-attributes/early-dup-attribute-key-import-nobinding.js @@ -9,7 +9,7 @@ info: | - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. -features: [import-assertions] +features: [import-attributes] flags: [module] negative: phase: parse @@ -18,7 +18,7 @@ negative: $DONOTEVALUATE(); -import './import-assertion-2_FIXTURE.js' assert { +import './import-attribute-2_FIXTURE.js' with { type: 'json', 'typ\u0065': '' }; diff --git a/test/language/module-code/import-attributes/early-dup-attribute-key-import-withbinding.js b/test/language/module-code/import-attributes/early-dup-attribute-key-import-withbinding.js index 0874455882..e6ef63f605 100644 --- a/test/language/module-code/import-attributes/early-dup-attribute-key-import-withbinding.js +++ b/test/language/module-code/import-attributes/early-dup-attribute-key-import-withbinding.js @@ -9,7 +9,7 @@ info: | - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. -features: [import-assertions] +features: [import-attributes] flags: [module] negative: phase: parse @@ -18,7 +18,7 @@ negative: $DONOTEVALUATE(); -import x from './import-assertion-1_FIXTURE.js' assert { +import x from './import-attribute-1_FIXTURE.js' with { type: 'json', 'typ\u0065': '' }; diff --git a/test/language/module-code/import-attributes/eval-gtbndng-indirect-faux-attribute.js b/test/language/module-code/import-attributes/eval-gtbndng-indirect-faux-attribute.js deleted file mode 100644 index 46b6069510..0000000000 --- a/test/language/module-code/import-attributes/eval-gtbndng-indirect-faux-attribute.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (C) 2021 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -description: > - `assert` AttributesKeyword in WithClause in ImportDeclaration may not - be preceded by a line terminator -esid: sec-modules -info: | - ImportDeclaration: - import ModuleSpecifier[no LineTerminator here] WithClause; - - WithClause: - AttributesKeyword {} - AttributesKeyword { WithEntries ,opt } - - AttributesKeyword: - with - [no LineTerminator here] assert - - The restriction LineTerminator could be verified more simply with a negative - syntax test. This test is designed to parse successfully in order to verify - the restriction more precisely. -features: [import-assertions, globalThis] -flags: [module, raw] ----*/ - -var callCount = 0; - -// Define a property on the global "this" value so that the effect of the -// expected IdentifierReference can be observed. -Object.defineProperty(globalThis, 'assert', { - get: function() { - callCount += 1; - } -}); - -import * as x from './import-assertion-1_FIXTURE.js' -assert -{ type: 'json' }; - -if (x.default !== 262.1) { - throw 'module value incorrectly imported - first declaration'; -} - -if (callCount !== 1) { - throw 'IdentifierReference not recognized - first declaration'; -} diff --git a/test/language/module-code/import-attributes/import-attribute-empty.js b/test/language/module-code/import-attributes/import-attribute-empty.js index 11ba46ac7c..6c556819ae 100644 --- a/test/language/module-code/import-attributes/import-attribute-empty.js +++ b/test/language/module-code/import-attributes/import-attribute-empty.js @@ -8,8 +8,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -18,12 +18,12 @@ info: | AttributeKey: IdentifierName StringLiteral -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ -import x from './import-assertion-1_FIXTURE.js' assert {}; -import './import-assertion-2_FIXTURE.js' assert {}; -export * from './import-assertion-3_FIXTURE.js' assert {}; +import x from './import-attribute-1_FIXTURE.js' with {}; +import './import-attribute-2_FIXTURE.js' with {}; +export * from './import-attribute-3_FIXTURE.js' with {}; assert.sameValue(x, 262.1); diff --git a/test/language/module-code/import-attributes/import-attribute-key-identifiername.js b/test/language/module-code/import-attributes/import-attribute-key-identifiername.js index 605b49f739..28d10211cf 100644 --- a/test/language/module-code/import-attributes/import-attribute-key-identifiername.js +++ b/test/language/module-code/import-attributes/import-attribute-key-identifiername.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions] +features: [import-attributes] flags: [module] ---*/ @@ -30,8 +30,8 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {if:''}; -import './import-assertion-2_FIXTURE.js' assert {if:''}; -export * from './import-assertion-3_FIXTURE.js' assert {if:''}; +import x from './import-attribute-1_FIXTURE.js' with {if:''}; +import './import-attribute-2_FIXTURE.js' with {if:''}; +export * from './import-attribute-3_FIXTURE.js' with {if:''}; assert.sameValue(x, 262.1); diff --git a/test/language/module-code/import-attributes/import-attribute-key-string-double.js b/test/language/module-code/import-attributes/import-attribute-key-string-double.js index 0a6491686a..6182740696 100644 --- a/test/language/module-code/import-attributes/import-attribute-key-string-double.js +++ b/test/language/module-code/import-attributes/import-attribute-key-string-double.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -30,8 +30,8 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {"test262\u0078":''}; -import './import-assertion-2_FIXTURE.js' assert {"test262\u0078":''}; -export * from './import-assertion-3_FIXTURE.js' assert {"test262\u0078":''}; +import x from './import-attribute-1_FIXTURE.js' with {"test262\u0078":''}; +import './import-attribute-2_FIXTURE.js' with {"test262\u0078":''}; +export * from './import-attribute-3_FIXTURE.js' with {"test262\u0078":''}; assert.sameValue(x, 262.1); diff --git a/test/language/module-code/import-attributes/import-attribute-key-string-single.js b/test/language/module-code/import-attributes/import-attribute-key-string-single.js index edccfeb08e..1d5869d77f 100644 --- a/test/language/module-code/import-attributes/import-attribute-key-string-single.js +++ b/test/language/module-code/import-attributes/import-attribute-key-string-single.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -30,8 +30,8 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {'test262\u0078':''}; -import './import-assertion-2_FIXTURE.js' assert {'test262\u0078':''}; -export * from './import-assertion-3_FIXTURE.js' assert {'test262\u0078':''}; +import x from './import-attribute-1_FIXTURE.js' with {'test262\u0078':''}; +import './import-attribute-2_FIXTURE.js' with {'test262\u0078':''}; +export * from './import-attribute-3_FIXTURE.js' with {'test262\u0078':''}; assert.sameValue(x, 262.1); diff --git a/test/language/module-code/import-attributes/import-attribute-many.js b/test/language/module-code/import-attributes/import-attribute-many.js index fccf8be5c2..cfd42baf08 100644 --- a/test/language/module-code/import-attributes/import-attribute-many.js +++ b/test/language/module-code/import-attributes/import-attribute-many.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -30,6 +30,6 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; -import './import-assertion-2_FIXTURE.js' assert {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; -export * from './import-assertion-3_FIXTURE.js' assert {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; +import x from './import-attribute-1_FIXTURE.js' with {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; +import './import-attribute-2_FIXTURE.js' with {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; +export * from './import-attribute-3_FIXTURE.js' with {test262_1:'',test262_2:'',test262_3:'',test262_4:''}; diff --git a/test/language/module-code/import-attributes/import-attribute-newlines.js b/test/language/module-code/import-attributes/import-attribute-newlines.js index 10cfba52a4..a6bfdfb1ca 100644 --- a/test/language/module-code/import-attributes/import-attribute-newlines.js +++ b/test/language/module-code/import-attributes/import-attribute-newlines.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -25,7 +25,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -33,7 +33,7 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert +import x from './import-attribute-1_FIXTURE.js' with 

{ @@ -44,7 +44,7 @@ import x from './import-assertion-1_FIXTURE.js' assert 

'' 

}; -import './import-assertion-2_FIXTURE.js' assert +import './import-attribute-2_FIXTURE.js' with 

{ @@ -55,7 +55,7 @@ import './import-assertion-2_FIXTURE.js' assert 

'' 

}; -export * from './import-assertion-3_FIXTURE.js' assert +export * from './import-attribute-3_FIXTURE.js' with 

{ diff --git a/test/language/module-code/import-attributes/import-attribute-trlng-comma.js b/test/language/module-code/import-attributes/import-attribute-trlng-comma.js index 323c61fac4..6208860560 100644 --- a/test/language/module-code/import-attributes/import-attribute-trlng-comma.js +++ b/test/language/module-code/import-attributes/import-attribute-trlng-comma.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -30,6 +30,6 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {test262:'',}; -import './import-assertion-2_FIXTURE.js' assert {test262:'',}; -export * from './import-assertion-3_FIXTURE.js' assert {test262:'',}; +import x from './import-attribute-1_FIXTURE.js' with {test262:'',}; +import './import-attribute-2_FIXTURE.js' with {test262:'',}; +export * from './import-attribute-3_FIXTURE.js' with {test262:'',}; diff --git a/test/language/module-code/import-attributes/import-attribute-value-string-double.js b/test/language/module-code/import-attributes/import-attribute-value-string-double.js index fc24b2e269..5fcd3b2ef2 100644 --- a/test/language/module-code/import-attributes/import-attribute-value-string-double.js +++ b/test/language/module-code/import-attributes/import-attribute-value-string-double.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -22,7 +22,7 @@ info: | negative: phase: resolution type: SyntaxError -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] flags: [module] ---*/ @@ -30,6 +30,6 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {test262:"\u0078"}; -import './import-assertion-2_FIXTURE.js' assert {test262:"\u0078"}; -export * from './import-assertion-3_FIXTURE.js' assert {test262:"\u0078"}; +import x from './import-attribute-1_FIXTURE.js' with {test262:"\u0078"}; +import './import-attribute-2_FIXTURE.js' with {test262:"\u0078"}; +export * from './import-attribute-3_FIXTURE.js' with {test262:"\u0078"}; diff --git a/test/language/module-code/import-attributes/import-attribute-value-string-single.js b/test/language/module-code/import-attributes/import-attribute-value-string-single.js index 0e0ef844bf..c3c1b115de 100644 --- a/test/language/module-code/import-attributes/import-attribute-value-string-single.js +++ b/test/language/module-code/import-attributes/import-attribute-value-string-single.js @@ -9,8 +9,8 @@ info: | import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: - assert {} - assert {WithEntries ,opt} + AttributesKeyword {} + AttributesKeyword {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral @@ -19,7 +19,7 @@ info: | AttributeKey: IdentifierName StringLiteral -features: [import-assertions, globalThis] +features: [import-attributes, globalThis] negative: phase: resolution type: SyntaxError @@ -30,6 +30,6 @@ $DONOTEVALUATE(); import "./ensure-linking-error_FIXTURE.js"; -import x from './import-assertion-1_FIXTURE.js' assert {test262:'\u0078'}; -import './import-assertion-2_FIXTURE.js' assert {test262:'\u0078'}; -export * from './import-assertion-3_FIXTURE.js' assert {test262:'\u0078'}; +import x from './import-attribute-1_FIXTURE.js' with {test262:'\u0078'}; +import './import-attribute-2_FIXTURE.js' with {test262:'\u0078'}; +export * from './import-attribute-3_FIXTURE.js' with {test262:'\u0078'};