Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aedfff25b4a3baccf41c5f2f4857185aa818a6f5
https://github.com/WebKit/WebKit/commit/aedfff25b4a3baccf41c5f2f4857185aa818a6f5
Author: Youenn Fablet <[email protected]>
Date: 2026-01-21 (Wed, 21 Jan 2026)
Changed paths:
A
LayoutTests/http/wpt/service-workers/service-worker-add-skip-fetch-event-routes.js
M LayoutTests/http/wpt/service-workers/service-worker-routes-expected.txt
M LayoutTests/http/wpt/service-workers/service-worker-routes.html
M Source/WebCore/platform/WebCorePersistentCoders.cpp
M Source/WebCore/workers/service/RouterSourceEnum.h
M Source/WebCore/workers/service/server/SWServer.cpp
M Source/WebCore/workers/service/server/SWServerWorker.cpp
M Source/WebCore/workers/service/server/SWServerWorker.h
Log Message:
-----------
A service worker created from an imported registration as empty static
service worker routes
rdar://168577666
https://bugs.webkit.org/show_bug.cgi?id=305918
Reviewed by Chris Dumez.
The persistency code path had a few bugs that are fixed here:
- When creating a SWServerWorker from disk, we need to set the routes at
creation time.
- Serialization needs to handle RaceFetchAndEventHandler source value
- Serialization needs to handle the case of a route without any or condition.
Covered by added test.
Canonical link: https://commits.webkit.org/305999@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications