mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +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:
parent
1031f424e9
commit
0b2c80e503
Notes:
github-actions[bot]
2025-01-02 10:31:50 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/0b2c80e503c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3090
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue