mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
LibJS: Add missing spec prose to FinishLoadingImportedModule
This commit is contained in:
parent
fc20e61e72
commit
263fd9b7c6
Notes:
github-actions[bot]
2025-01-21 14:00:06 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/263fd9b7c69 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3324
1 changed files with 2 additions and 1 deletions
|
@ -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>>()) {
|
if (payload.has<GC::Ref<GraphLoadingState>>()) {
|
||||||
// a. Perform ContinueModuleLoading(payload, result)
|
// a. Perform ContinueModuleLoading(payload, result)
|
||||||
continue_module_loading(payload.get<GC::Ref<GraphLoadingState>>(), result);
|
continue_module_loading(payload.get<GC::Ref<GraphLoadingState>>(), result);
|
||||||
}
|
}
|
||||||
// Else,
|
// 3. Else,
|
||||||
else {
|
else {
|
||||||
// a. Perform ContinueDynamicImport(payload, result).
|
// a. Perform ContinueDynamicImport(payload, result).
|
||||||
continue_dynamic_import(payload.get<GC::Ref<PromiseCapability>>(), result);
|
continue_dynamic_import(payload.get<GC::Ref<PromiseCapability>>(), result);
|
||||||
|
|
Loading…
Reference in a new issue