mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-09 18:41:53 +00:00
LibJS: Update spec steps / links for the import-assertions proposal
This proposal has reached stage 4 and been merged into the main ECMA-262
spec. See:
4e3450e
This commit is contained in:
parent
c1a3b95176
commit
3867a192a1
Notes:
github-actions[bot]
2025-04-29 11:35:05 +00:00
Author: https://github.com/trflynn89
Commit: 3867a192a1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4514
17 changed files with 223 additions and 225 deletions
|
@ -155,8 +155,8 @@ ThrowCompletionOr<Value> ModuleNamespaceObject::internal_get(PropertyKey const&
|
|||
return js_undefined();
|
||||
|
||||
// 4. Let m be O.[[Module]].
|
||||
// 5. Let binding be ! m.ResolveExport(P).
|
||||
auto binding = MUST(m_module->resolve_export(vm, property_key.to_string()));
|
||||
// 5. Let binding be m.ResolveExport(P).
|
||||
auto binding = m_module->resolve_export(vm, property_key.to_string());
|
||||
|
||||
// 6. Assert: binding is a ResolvedBinding Record.
|
||||
VERIFY(binding.is_valid());
|
||||
|
@ -169,8 +169,8 @@ ThrowCompletionOr<Value> ModuleNamespaceObject::internal_get(PropertyKey const&
|
|||
|
||||
// 9. If binding.[[BindingName]] is namespace, then
|
||||
if (binding.is_namespace()) {
|
||||
// a. Return ? GetModuleNamespace(targetModule).
|
||||
return TRY(target_module->get_module_namespace(vm));
|
||||
// a. Return GetModuleNamespace(targetModule)..
|
||||
return target_module->get_module_namespace(vm);
|
||||
}
|
||||
|
||||
// 10. Let targetEnv be targetModule.[[Environment]].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue