Bug 294391

Summary: WebKit is failing to register a service worker if script fetch is not fetched when document is being reloaded
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

youenn fablet
Reported 2025-06-12 06:38:18 PDT
While this is not aligned to the way I read the service worker spec, Chrome and Firefox supports starting to register a service worker and reloading the document doing the registration. WebKit fails as it will cancel the service worker script fetch. This has web compatibility impact.
Attachments
youenn fablet
Comment 1 2025-06-12 06:38:38 PDT
youenn fablet
Comment 2 2025-06-12 06:38:54 PDT
youenn fablet
Comment 3 2025-06-13 00:37:17 PDT
EWS
Comment 4 2025-07-03 06:53:39 PDT
Committed 296970@main (c53ee10740bf): <https://commits.webkit.org/296970@main> Reviewed commits have been landed. Closing PR #46702 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.