Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fd20d272538eec0ce1b759e60fa99cc701ab22a9
https://github.com/WebKit/WebKit/commit/fd20d272538eec0ce1b759e60fa99cc701ab22a9
Author: Youenn Fablet <[email protected]>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M Source/WebCore/workers/service/server/SWServer.cpp
Log Message:
-----------
Installing a service worker may fail when its registration is cleared while
the context is created
rdar://180436315
https://bugs.webkit.org/show_bug.cgi?id=317736
Reviewed by Chris Dumez.
When delaying the creation of the service worker to create a web process for it,
there is a risk that the corresponding registration may be removed
(unregistration/website data store cleanup).
In that case, we would not find the registration in
SWServer::installContextData.
In this case, we return early and we log a message.
* Source/WebCore/workers/service/server/SWServer.cpp:
(WebCore::SWServer::installContextData):
Canonical link: https://commits.webkit.org/315738@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications