mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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: https://github.com/tc39/ecma262/commit/4e3450e
This commit is contained in:
Notes:
github-actions[bot]
2025-04-29 11:35:05 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/3867a192a12 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4514
@@ -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]].
|
||||
|
||||
Reference in New Issue
Block a user