mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-27 01:18:55 +00:00
import from UXP: Issue #618 - Add clarifying code comments. (33634721)
This commit is contained in:
@@ -421,6 +421,10 @@ ScriptLoader::SetModuleFetchFinishedAndResumeWaitingRequests(ModuleLoadRequest *
|
||||
{
|
||||
// Update module map with the result of fetching a single module script. The
|
||||
// module script pointer is nullptr on error.
|
||||
//
|
||||
// If any requests for the same URL are waiting on this one to complete, they
|
||||
// will have ModuleLoaded or LoadFailed on them when the promise is
|
||||
// resolved/rejected. This is set up in StartLoad.
|
||||
|
||||
MOZ_ASSERT(!aRequest->IsReadyToRun());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user