Bug 243409

Summary: REGRESSION(249632@main): wpt /service-workers/service-worker/claim-worker-fetch.https.html
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Service WorkersAssignee: 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

Attachments
Radar WebKit Bug Importer
Comment 1 2022-08-01 09:55:45 PDT
Sam Sneddon [:gsnedders]
Comment 2 2022-08-01 09:56:22 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.
Chris Dumez
Comment 3 2022-08-09 11:47:30 PDT
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.
Chris Dumez
Comment 4 2022-08-09 11:50:45 PDT
Chris Dumez
Comment 5 2022-08-09 12:27:12 PDT
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
Chris Dumez
Comment 6 2022-08-09 13:15:45 PDT
EWS
Comment 7 2022-08-11 12:13:27 PDT
Committed 253345@main (497df5ae79f3): <https://commits.webkit.org/253345@main> Reviewed commits have been landed. Closing PR #3164 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.