RESOLVED FIXED 286060
REGRESSION: Service Worker downloads being prematurely interrupted since iOS 18.2
https://bugs.webkit.org/show_bug.cgi?id=286060
Summary REGRESSION: Service Worker downloads being prematurely interrupted since iOS ...
mrskman
Reported 2025-01-16 04:47:29 PST
1) Open this page: https://stat-info.cz/safari-sw-download-tests.html 2) Click on any "Start download" button. 3) The download is automatically interrupted after a few chunks. iOS 18.1 is the last working version for me.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-16 11:16:26 PST
youenn fablet
Comment 2 2025-01-17 06:38:28 PST
This is working for me using ToT WebKit.
mrskman
Comment 3 2025-01-17 07:57:11 PST
I tried iOS 18.3 Beta 3 - not working. What can I do to help find the issue?
youenn fablet
Comment 4 2025-01-17 08:15:04 PST
I'll try it on iOS 18.3 to try reproducing, if it reproduces then it means it is probably fixed in ToT.
mrskman
Comment 5 2025-02-26 01:31:17 PST
Issue is still reproducible on iOS 18.4 Beta. It seems it is triggered by some race condition. If I have predownloaded multiple chunks, sending them to a ServiceWorker right after its activation interrupts the download. I've prepared a better test to reproduce this issue: 1) Go to https://stat-info.cz/safari-bug286060.html 2) Predownload 5 chunks using the "Download chunk" button. 3) Start the file download using "Open ServiceWorker connection" button. 4) Now the download is automatically interrupted by Safari after writing all predownloaded chunks. Note 1: The download is successfully completed if you Open ServiceWorker connection first and then you download 10 chunks. Note 2: Chrome on iOS works fine with predownloaded chunks.
EWS
Comment 6 2025-03-06 10:37:30 PST
Committed 291712@main (29a25c5dec47): <https://commits.webkit.org/291712@main> Reviewed commits have been landed. Closing PR #41998 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.