mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00

Let mozJSModuleLoader::ScriptReaderRunnable hold a ThreadSafeWorkerRef until its OnComplete() is called. It seems that mozJSModuleLoader::ScriptReaderRunnable can inherit from WorkerMainThreadRunnable to perform synchronous dispatching. Will create a follow-up bug for this implementation. Depends on D213942 Differential Revision: https://phabricator.services.mozilla.com/D213943