Files
tubestation/dom
Eden Chuang 4ce1ddbb64 Bug 1961460 - Remove the assertion for target thread in RemoteWorkerDebuggerManagerChild::Constructor. r=dom-worker-reviewers,jstutte
RemoteWorkerService::InitializeOnTargetThread could race with its shutdown
So we can not use sRemoteWorkerService for thread correctness checking in RemoteWorkerDebuggerManagerChild creation during the initialization.

This patch remove the assertions in the RemoteWorkerDebuggerManagerChild constructor and also moving the RemoteWorkerDebuggerManagerChild creation into RemoteWorkerService::InitializeOnTargetThread. RemoteWorkerService::InitializeOnTargetThread provides the thread correctness checking by using its mThread.

Differential Revision: https://phabricator.services.mozilla.com/D247043
2025-04-29 13:50:20 +00:00
..