Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4e2674966e4eade49288ae334325d148f706ea3a
https://github.com/WebKit/WebKit/commit/4e2674966e4eade49288ae334325d148f706ea3a
Author: Youenn Fablet <[email protected]>
Date: 2026-01-12 (Mon, 12 Jan 2026)
Changed paths:
M LayoutTests/http/wpt/service-workers/service-worker-routes.html
M
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/static-router-invalid-rules.https-expected.txt
M Source/WebCore/workers/service/ServiceWorkerRoute.cpp
M Source/WebCore/workers/service/ServiceWorkerRoute.h
M Source/WebCore/workers/service/server/SWServerWorker.cpp
Log Message:
-----------
Implement service worker static routing rules limitation checks
rdar://167977145
https://bugs.webkit.org/show_bug.cgi?id=305316
Reviewed by Chris Dumez.
We add a limit to 1024 route conditions and a max depth of 10, as per
https://w3c.github.io/ServiceWorker/#check-router-registration-limit-algorithm.
Covered by rebased test.
Canonical link: https://commits.webkit.org/305501@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications