mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibJS: Add missing spec prose to FinishLoadingImportedModule
This commit is contained in:
committed by
Andreas Kling
parent
fc20e61e72
commit
263fd9b7c6
@@ -106,11 +106,12 @@ void finish_loading_imported_module(ImportedModuleReferrer referrer, ModuleReque
|
||||
}
|
||||
}
|
||||
|
||||
// 2. If payload is a GraphLoadingState Record, then
|
||||
if (payload.has<GC::Ref<GraphLoadingState>>()) {
|
||||
// a. Perform ContinueModuleLoading(payload, result)
|
||||
continue_module_loading(payload.get<GC::Ref<GraphLoadingState>>(), result);
|
||||
}
|
||||
// Else,
|
||||
// 3. Else,
|
||||
else {
|
||||
// a. Perform ContinueDynamicImport(payload, result).
|
||||
continue_dynamic_import(payload.get<GC::Ref<PromiseCapability>>(), result);
|
||||
|
||||
Reference in New Issue
Block a user