browser.js |
|
0 |
distinct-for-each-module.js |
---
esid: sec-meta-properties-runtime-semantics-evaluation
description: >
The import.meta object is not shared across modules.
info: |
Runtime Semantics: Evaluation
ImportMeta : import.meta
1. Let module be GetActiveScriptOrModule().
...
3. Let importMeta be module.[[ImportMeta]].
4. If importMeta is undefined.
...
f. Set module.[[ImportMeta]] to importMeta.
g. Return importMeta.
...
flags: [module]
features: [import.meta]
--- |
1319 |
distinct-for-each-module_FIXTURE.js |
|
254 |
import-meta-is-an-ordinary-object.js |
---
esid: sec-meta-properties-runtime-semantics-evaluation
description: >
import.meta is an ordinary object.
info: |
Runtime Semantics: Evaluation
ImportMeta : import.meta
...
4. If importMeta is undefined.
a. Set importMeta to ObjectCreate(null).
b. Let importMetaValues be ! HostGetImportMetaProperties(module).
...
e. Perform ! HostFinalizeImportMeta(importMeta, module).
...
g. Return importMeta.
...
flags: [module]
features: [import.meta]
--- |
2818 |
not-accessible-from-direct-eval.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
import.meta is not allowed in direct eval in module code.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
flags: [module]
features: [import.meta]
--- |
519 |
same-object-returned.js |
---
esid: sec-meta-properties-runtime-semantics-evaluation
description: >
The same import.meta object is returned for a module.
info: |
Runtime Semantics: Evaluation
ImportMeta : import.meta
1. Let module be GetActiveScriptOrModule().
...
3. Let importMeta be module.[[ImportMeta]].
4. If importMeta is undefined.
...
f. Set module.[[ImportMeta]] to importMeta.
g. Return importMeta.
5. Else,
a. Assert: Type(importMeta) is Object.
b. Return importMeta.
flags: [module]
features: [import.meta]
--- |
1059 |
shell.js |
|
0 |
syntax |
|
|