Open Bug 1978002 Opened 11 months ago

Handle OffThreadCompileTask during shutdown

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

People

(Reporter: allstars.chh, Unassigned)

References

Details

When working on https://phabricator.services.mozilla.com/D257677, the module pkijs.js is off-thread compiled.
However, the result of the compiling task is never returned to ScriptLoader as the TaskController is shutting down (Due to mochitest is starting to run the next test).
ScriptLoader has a member mOffThreadCompilingRequests, but currently it only keeps tracks of the top-level scripts.

You need to log in before you can comment on or make changes to this bug.