| browser.js |
|
0 |
- |
| deferred_ns_export_FIXTURE.js |
|
262 |
- |
| dep-defer-ns_FIXTURE.js |
|
226 |
- |
| dep_FIXTURE.js |
|
172 |
- |
| dep2_FIXTURE.js |
|
186 |
- |
| exotic-object-behavior.js |
---
esid: sec-modulenamespacecreate
description: >
Deferred namespace objects have the correct MOP implementation
info: |
ModuleNamespaceCreate ( _module_, _exports_, _phase_ )
1. Let _internalSlotsList_ be the internal slots listed in <emu-xref href="#table-internal-slots-of-module-namespace-exotic-objects"></emu-xref>.
1. Let _M_ be MakeBasicObject(_internalSlotsList_).
1. Set _M_'s essential internal methods to the definitions specified in <emu-xref href="#sec-module-namespace-exotic-objects"></emu-xref>.
1. ...
[[GetPrototypeOf]] ( )
1. Return null.
[[IsExtensible]] ( )
1. Return false.
flags: [module]
features: [import-defer]
includes: [propertyHelper.js, compareArray.js]
--- |
2531 |
- |
| identity.js |
---
esid: sec-getmodulenamespace
description: >
Deferred namespace objects are created and cached appropriately
info: |
GetModuleNamespace ( _module_, _phase_ )
1. ...
1. If _phase_ is ~defer~, let _namespace_ be _module_.[[DeferredNamespace]], otherwise let _namespace_ be _module_.[[Namespace]].
1. If _namespace_ is ~empty~, then
1. ...
1. Set _namespace_ to ModuleNamespaceCreate(_module_, _unambiguousNames_, _phase_).
1. Return _namespace_.
ModuleNamespaceCreate ( _module_, _exports_, _phase_ )
1. ...
1. Let _M_ be MakeBasicObject(_internalSlotsList_).
1. ...
1. If _phase_ is ~defer~, then
1. Set _module_.[[DeferredNamespace]] to _M_.
1. ...
1. Else,
1. Set _module_.[[Namespace]] to _M_.
1. ...
1. Return _M_.
flags: [module]
features: [import-defer]
--- |
1826 |
- |
| reexport-deferred-ns-evaluation.js |
---
esid: sec-resolveexport
description: >
Re-exported deferred namespace preserves deferred semantics
info: |
ResolveExport ( _exportName_ )
1. ...
1. For each ExportEntry Record _e_ of _module_.[[IndirectExportEntries]], do
1. If _e_.[[ExportName]] is _exportName_, then
1. Assert: _e_.[[ModuleRequest]] is not *null*.
1. Let _importedModule_ be GetImportedModule(_module_, _e_.[[ModuleRequest]]).
1. If _e_.[[ImportName]] is ~all~, then
1. Assert: _module_ does not provide the direct binding for this export.
1. If _e_.[[ModuleRequest]].[[Phase]] is ~defer~, then
1. Return ResolvedBinding Record { [[Module]]: _importedModule_,
[[BindingName]]: ~deferred-namespace~ }.
1. Else,
1. Assert: _e_.[[Phase]] is ~evaluation~.
1. Return ResolvedBinding Record { [[Module]]: _importedModule_,
[[BindingName]]: ~namespace~ }.
flags: [module]
features: [import-defer]
includes: [compareArray.js]
--- |
1675 |
- |
| setup_FIXTURE.js |
|
157 |
- |
| shell.js |
|
0 |
- |
| to-string-tag.js |
---
esid: sec-getmodulenamespace
description: >
Deferred namespace objects have a "Deferred Module" @@toStringTag
info: |
ModuleNamespaceCreate ( _module_, _exports_, _phase_ )
1. ...
1. Let _M_ be MakeBasicObject(_internalSlotsList_).
1. ...
1. If _phase_ is ~defer~, then
1. ...
1. Let _toStringTag_ be *"Deferred Module"*.
1. Else,
1. ...
1. Create an own data property of _M_ named %Symbol.toStringTag% whose [[Value]]
is _toStringTag_ and whose [[Writable]], [[Enumerable]], and [[Configurable]]
attributes are false.
1. Return _M_.
flags: [module]
features: [import-defer]
includes: [propertyHelper.js]
--- |
1074 |
- |