gecko-dev/js/loader
Yulia Startsev 088ae95178 Bug 1797327 - Use RefPtrs for all WorkerLoadContexts; r=asuth
As WorkerLoadContexts now inherit from a non-CC'd loadContextBase, we have two outcomes.
1) we need to break cycles with ScriptLoadRequests manually, so that ScriptLoadRequests can be collected (ScriptLoadRequests must be CC'd).
2) we can now have refptrs to WorkerLoadContexts in the CacheLoadHandler and NetworkLoadHandler classes, and remove any remaining raw pointers to ScriptLoadRequest/WorkerLoadContext. There are cases where the NetworkLoadHandler or CacheLoadHandler might outlive the Worker Loader, so having refpointers here should help us recover in those cases.

Differential Revision: https://phabricator.services.mozilla.com/D160334
2022-11-01 18:03:34 +00:00
..
ImportMap.cpp Bug 1778289 - Part 12: Update spec links as the PR is merged. r=jonco,yulia 2022-10-07 13:56:27 +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 1797327 - Introduce CC'd and non CC'd variants of LoadContextBase; r=jonco 2022-11-01 18:03:34 +00:00
LoadContextBase.h Bug 1797327 - Use RefPtrs for all WorkerLoadContexts; r=asuth 2022-11-01 18:03:34 +00:00
LoadedScript.cpp Bug 1776832 - Clear chrome module environments in shutdown r=arai 2022-07-04 14:18:54 +00:00
LoadedScript.h Bug 1776832 - Clear chrome module environments in shutdown r=arai 2022-07-04 14:18:54 +00:00
ModuleLoaderBase.cpp Bug 1797166 - Don't assume an exception is always set if module compilation fails r=yulia 2022-10-31 14:26:48 +00:00
ModuleLoaderBase.h Bug 1778289 - Part 12: Update spec links as the PR is merged. r=jonco,yulia 2022-10-07 13:56:27 +00:00
ModuleLoadRequest.cpp Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
ModuleLoadRequest.h Bug 1766274 - Part 4: Change references to module trees to module graphs r=yulia 2022-04-26 12:40:48 +00:00
moz.build Bug 1688879 - Part 4: Refactor ResolveModuleSpecifier. r=jonco,yulia 2022-05-05 21:19:02 +00:00
ResolveResult.h Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod 2022-07-08 09:58:33 +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 1797327 - Use RefPtrs for all WorkerLoadContexts; r=asuth 2022-11-01 18:03:34 +00:00
ScriptLoadRequest.h Bug 1797327 - Use RefPtrs for all WorkerLoadContexts; r=asuth 2022-11-01 18:03:34 +00:00