mirror of https://github.com/tc39/test262.git
Dynamic Imports: remove [module] flag
This commit is contained in:
parent
90e69a3b59
commit
c31feb753d
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright (C) 2018 Rick Waldron. All rights reserved.
|
||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: It's a SyntaxError if AssignmentExpression is omitted
|
||||
template: revised
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
ImportCall :
|
||||
import()
|
||||
|
||||
---*/
|
||||
//- setup
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
//- params
|
||||
|
||||
//- teardown
|
||||
/* The params region intentionally empty */
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
8. Perform ! HostImportModuleDynamically(referencingScriptOrModule, specifierString, promiseCapability).
|
||||
9. Return promiseCapability.[[Promise]].
|
||||
|
||||
flags: [module]
|
||||
|
||||
features: [dynamic-import]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue