gecko-dev/js/loader
Yulia 5231b910c8 Bug 1540913 - Part 2: Clear and shutdown ModuleLoader at worker termination; r=asuth,jonco
When running an infinitely-looping dynamic import, it is possible for the module loader to still be
holding on to that module at shutdown. Shutdown on the worker means that we will no longer run the
event loop, which will execute the dynamic import promises necessary to clear the global. The result
is that the global is kept alive. By calling `Shutdown()` we prevent this partially. We additionally
need to address the failure in the module code (next patch).

Differential Revision: https://phabricator.services.mozilla.com/D171683
2023-03-14 18:16:31 +00:00
..
ImportMap.cpp Bug 1808357: Add better error message for importmaps of invalid JSON format. r=jonco 2023-01-06 13:34:17 +00:00
ImportMap.h Bug 1778289 - Part 12: Update spec links as the PR is merged. r=jonco,yulia 2022-10-07 13:56:27 +00:00
LoadContextBase.cpp Bug 1572644 - Part 4: Add WorkletLoadContext and nsMainThreadPtrHandle to delegate WorkletFetchHandler on the worklet thread. r=jonco,yulia 2023-03-13 22:59:37 +00:00
LoadContextBase.h Bug 1572644 - Part 4: Add WorkletLoadContext and nsMainThreadPtrHandle to delegate WorkletFetchHandler on the worklet thread. r=jonco,yulia 2023-03-13 22:59:37 +00:00
LoadedScript.cpp Bug 1811238 - Correct QueryInterface implementation of LoadedScript and ModuleLoaderBase. r=mccr8 2023-01-24 09:55:27 +00:00
LoadedScript.h Bug 1811238 - Correct QueryInterface implementation of LoadedScript and ModuleLoaderBase. r=mccr8 2023-01-24 09:55:27 +00:00
ModuleLoaderBase.cpp Bug 1540913 - Part 2: Clear and shutdown ModuleLoader at worker termination; r=asuth,jonco 2023-03-14 18:16:31 +00:00
ModuleLoaderBase.h Bug 1540913 - Part 1: allow ModuleLoaders to return BaseURI without ScriptLoader;r=jonco 2023-03-14 18:16:30 +00:00
ModuleLoadRequest.cpp Bug 1813494 - Part 3: Add more cancellation checks and state assertions to module load requests r=smaug 2023-02-07 11:55:51 +00:00
ModuleLoadRequest.h Bug 1813494 - Part 3: Add more cancellation checks and state assertions to module load requests r=smaug 2023-02-07 11:55:51 +00:00
moz.build Bug 1688879 - Part 4: Refactor ResolveModuleSpecifier. r=jonco,yulia 2022-05-05 21:19:02 +00:00
ResolveResult.h Bug 1572644 - Part 11-2: Preload localized error msg and format it when resolving failed. r=jonco,yulia 2023-03-13 22:59:41 +00:00
ScriptKind.h Bug 1688879 - Part 2: Add support for import maps in ScriptElement/ScriptLoader/ScriptKind. r=jonco,yulia,smaug 2022-05-05 21:19:01 +00:00
ScriptLoadRequest.cpp Bug 1572644 - Part 4: Add WorkletLoadContext and nsMainThreadPtrHandle to delegate WorkletFetchHandler on the worklet thread. r=jonco,yulia 2023-03-13 22:59:37 +00:00
ScriptLoadRequest.h Bug 1572644 - Part 8: Compile fetched module. r=jonco,yulia 2023-03-13 22:59:39 +00:00