mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
088ae95178
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 |
||
---|---|---|
.. | ||
ImportMap.cpp | ||
ImportMap.h | ||
LoadContextBase.cpp | ||
LoadContextBase.h | ||
LoadedScript.cpp | ||
LoadedScript.h | ||
ModuleLoaderBase.cpp | ||
ModuleLoaderBase.h | ||
ModuleLoadRequest.cpp | ||
ModuleLoadRequest.h | ||
moz.build | ||
ResolveResult.h | ||
ScriptKind.h | ||
ScriptLoadRequest.cpp | ||
ScriptLoadRequest.h |