Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9f843d0964cfb9db4e94257d748dc3c42806f936
https://github.com/WebKit/WebKit/commit/9f843d0964cfb9db4e94257d748dc3c42806f936
Author: Kiara Rose <[email protected]>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm
M Source/WebKit/WebProcess/Inspector/ServiceWorkerDebuggableProxy.h
M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
Log Message:
-----------
Web Extension Service Workers can't be inspected
https://bugs.webkit.org/show_bug.cgi?id=317677
rdar://174024618
Reviewed by Qianlang Chen and Timothy Hatcher.
The request to create the debuggable for extension service workers is being
dropped in
WorkerMainRunLoop::postTaskForMode because the global scope doesn't exist.
Extension service workers
run on the main thread so we need to make sure the IPC call to create the
debuggable goes out
synchronously on the main thread instead of deferring it in
handleThreadDebuggerTasksStarted.
With this change, the debuggables for extension service workers appear, but the
title doesn't match
what's set on the extension's context. Instead, it's "ServiceWorker -- <UUID>".
To fix this, when we
create the debuggable, refer to the extension's context for the correct title.
* Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm:
(WebKit::WebProcessProxy::createServiceWorkerDebuggable):
* Source/WebKit/WebProcess/Inspector/ServiceWorkerDebuggableProxy.h:
* Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:
(WebKit::WebSWContextManagerConnection::installServiceWorker):
Canonical link: https://commits.webkit.org/315944@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications