Bug 1875800 - Add name support to WorkerRunnable. r=dom-worker-reviewers,asuth,smaug

Differential Revision: https://phabricator.services.mozilla.com/D199228
This commit is contained in:
Jens Stutte
2024-01-24 16:00:26 +00:00
parent 670400a19f
commit aa54dcc26f
23 changed files with 182 additions and 98 deletions

View File

@@ -2781,7 +2781,8 @@ class WorkerRunnableDispatcher final : public WorkerRunnable {
WorkerRunnableDispatcher(WebSocketImpl* aImpl,
ThreadSafeWorkerRef* aWorkerRef,
already_AddRefed<nsIRunnable> aEvent)
: WorkerRunnable(aWorkerRef->Private(), WorkerThread),
: WorkerRunnable(aWorkerRef->Private(), "WorkerRunnableDispatcher",
WorkerThread),
mWebSocketImpl(aImpl),
mEvent(std::move(aEvent)) {}