browser.js |
|
0 |
import-source-binding-name-2.js |
---
description: >
ImportBinding in ImportDeclaration may be 'source' and 'from'
esid: sec-modules
info: |
ImportDeclaration:
import source ImportedBinding FromClause ;
negative:
phase: resolution
type: SyntaxError
features: [source-phase-imports]
flags: [module]
--- |
664 |
import-source-binding-name.js |
---
description: >
ImportBinding in ImportDeclaration may be 'source' and 'from'
esid: sec-modules
info: |
ImportDeclaration:
import source ImportedBinding FromClause ;
negative:
phase: resolution
type: SyntaxError
features: [source-phase-imports]
flags: [module]
--- |
650 |
import-source-newlines.js |
---
description: >
import source in ImportDeclaration may include line terminators
esid: sec-modules
info: |
ImportDeclaration:
import source ImportedBinding FromClause ;
This test uses all four LineFeed characters in order to completely verify the
grammar.
16.2.1.7.2 GetModuleSource ( )
Source Text Module Record provides a GetModuleSource implementation that always returns an abrupt completion indicating that a source phase import is not available.
negative:
phase: resolution
type: SyntaxError
features: [source-phase-imports]
flags: [module]
--- |
923 |
shell.js |
|
0 |