mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
Remove generated import-assertions test files
Generated by running `./make.py clean` and `./make.py`
This commit is contained in:
parent
cfd81e1698
commit
3b56bf655f
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let f = () => import('./empty_FIXTURE.js',);
|
|
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let f = () => import('./empty_FIXTURE.js', {},);
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-arrow.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let f = () => {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-arrow.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let f = () => {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-arrow-fn-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested in async arrow function)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
(async () => {
|
|
||||||
await import('./empty_FIXTURE.js',)
|
|
||||||
});
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-arrow-fn-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested in async arrow function)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
(async () => {
|
|
||||||
await import('./empty_FIXTURE.js', {},)
|
|
||||||
});
|
|
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-arrow-fn-return-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested in async arrow function, returned)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
(async () => await import('./empty_FIXTURE.js',));
|
|
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-arrow-fn-return-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested in async arrow function, returned)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
(async () => await import('./empty_FIXTURE.js', {},));
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
await import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
await import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function-return-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
return await import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-function-return-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested arrow syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function f() {
|
|
||||||
return await import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-generator-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested in async generator, awaited)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import, async-iteration]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function * f() {
|
|
||||||
await import('./empty_FIXTURE.js',)
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-async-generator-await.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested in async generator, awaited)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import, async-iteration]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
async function * f() {
|
|
||||||
await import('./empty_FIXTURE.js', {},)
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-block.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested block syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
{
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-block.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested block syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
{
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-block-labeled.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested block syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
label: {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-block-labeled.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested block syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
label: {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
};
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-do-while.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested do while syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
do {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
} while (false);
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-do-while.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested do while syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
do {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
} while (false);
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-else-braceless.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested else syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (false) {
|
|
||||||
|
|
||||||
} else import('./empty_FIXTURE.js',);
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-else-braceless.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested else syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (false) {
|
|
||||||
|
|
||||||
} else import('./empty_FIXTURE.js', {},);
|
|
@ -1,34 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-else.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested else syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (false) {
|
|
||||||
|
|
||||||
} else {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-else.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested else syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (false) {
|
|
||||||
|
|
||||||
} else {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-function.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested function syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function fn() {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-function.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested function syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function fn() {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-function-return.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested function syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function fn() {
|
|
||||||
return import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-function-return.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested function syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function fn() {
|
|
||||||
return import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-if-braceless.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested if syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (true) import('./empty_FIXTURE.js',);
|
|
@ -1,30 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-if-braceless.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested if syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (true) import('./empty_FIXTURE.js', {},);
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-if.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested if syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (true) {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-if.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested if syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
if (true) {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-while.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested while syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let x = 0;
|
|
||||||
while (!x) {
|
|
||||||
x++;
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
};
|
|
@ -1,34 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-while.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested while syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
let x = 0;
|
|
||||||
while (!x) {
|
|
||||||
x++;
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
};
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-with-expression.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested with syntax in the expression position)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated, noStrict]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
with (import('./empty_FIXTURE.js',)) {
|
|
||||||
assert.sameValue(then, Promise.prototype.then);
|
|
||||||
assert.sameValue(constructor, Promise);
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-with-expression.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested with syntax in the expression position)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated, noStrict]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
with (import('./empty_FIXTURE.js', {},)) {
|
|
||||||
assert.sameValue(then, Promise.prototype.then);
|
|
||||||
assert.sameValue(constructor, Promise);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-with.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (nested with syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated, noStrict]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
with ({}) {
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/nested-with.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (nested with syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated, noStrict]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
1. Let referencingScriptOrModule be ! GetActiveScriptOrModule().
|
|
||||||
2. Assert: referencingScriptOrModule is a Script Record or Module Record (i.e. is not null).
|
|
||||||
3. Let argRef be the result of evaluating AssignmentExpression.
|
|
||||||
4. Let specifier be ? GetValue(argRef).
|
|
||||||
5. Let promiseCapability be ! NewPromiseCapability(%Promise%).
|
|
||||||
6. Let specifierString be ToString(specifier).
|
|
||||||
7. IfAbruptRejectPromise(specifierString, promiseCapability).
|
|
||||||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
|
||||||
9. Return promiseCapability.[[Promise]].
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
with ({}) {
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-first.case
|
|
||||||
// - src/dynamic-import/syntax/valid/top-level.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following first parameter (top level syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
import('./empty_FIXTURE.js',);
|
|
@ -1,20 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/dynamic-import/import-assertions-trailing-comma-second.case
|
|
||||||
// - src/dynamic-import/syntax/valid/top-level.template
|
|
||||||
/*---
|
|
||||||
description: ImportCall trailing comma following second parameter (top level syntax)
|
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
|
||||||
features: [import-assertions, dynamic-import]
|
|
||||||
flags: [generated]
|
|
||||||
info: |
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression )
|
|
||||||
|
|
||||||
|
|
||||||
ImportCall :
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
import('./empty_FIXTURE.js', {},);
|
|
Loading…
x
Reference in New Issue
Block a user