mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibJS: Adjust FIXME for an incorrect assertion in GetModuleNamespace
It turns out that the FIXME which we had left unimplemented is actually a spec bug.
This commit is contained in:
committed by
Andreas Kling
parent
1031f424e9
commit
0b2c80e503
@@ -123,7 +123,7 @@ void finish_loading_imported_module(ImportedModuleReferrer referrer, ModuleReque
|
||||
ThrowCompletionOr<Object*> Module::get_module_namespace(VM& vm)
|
||||
{
|
||||
// 1. Assert: If module is a Cyclic Module Record, then module.[[Status]] is not unlinked.
|
||||
// FIXME: How do we check this without breaking encapsulation?
|
||||
// FIXME: Spec bug: https://github.com/tc39/ecma262/issues/3114
|
||||
|
||||
// 2. Let namespace be module.[[Namespace]].
|
||||
auto* namespace_ = m_namespace.ptr();
|
||||
|
||||
Reference in New Issue
Block a user