| Summary: | REGRESSION(249632@main): wpt /service-workers/service-worker/claim-worker-fetch.https.html | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
| Component: | Service Workers | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://www.w3.org/TR/service-workers/#control-and-use-worker-client | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=239066 | ||
|
Description
Sam Sneddon [:gsnedders]
2022-08-01 09:55:32 PDT
Specifically, given I forgot what I was gonna write in the description, the `fetch() in blob URL Worker should be intercepted after the client is claimed.` subtest has regressed. I think the issue is that in SWServer::claim(), doRegistrationMatching() returns false for the blob URL worker client since we call doRegistrationMatching() with clientData.url which is a Blob URL. Relevant spec text: https://www.w3.org/TR/service-workers/#control-and-use-worker-client Spec doesn't actually deal properly with a service worker claiming a client worker that is a Blob URL but there is a spec bug about it: - https://github.com/w3c/ServiceWorker/issues/1554 Pull request: https://github.com/WebKit/WebKit/pull/3164 Committed 253345@main (497df5ae79f3): <https://commits.webkit.org/253345@main> Reviewed commits have been landed. Closing PR #3164 and removing active labels. |