[Webkit-unassigned] [Bug 238866] New: ServiceWorker downloads do not start in reopened tabs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 06:37:47 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238866

            Bug ID: 238866
           Summary: ServiceWorker downloads do not start in reopened tabs
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrskman at gmail.com

Safari supports ServiceWorker downloads since 15.4 (Technology Preview 138). It is working great (big thank you for that) unless you want to do downloads in a reopened tab.

How to reproduce #1:
1. Open a new tab and go to https://stat-info.cz/safari-download-reopened-tab.html .
2. Close the tab.
3. Reopen the closed tab (Menu -> Edit -> Undo Close Tab)
4. Download buttons are not working now.

How to reproduce #2:
1. Set your Safari to open all windows from last session (Menu -> Safari -> Preferences -> General).
2. Open a new tab and go to https://stat-info.cz/safari-download-reopened-tab.html .
3. Quit Safari (Menu -> Safari -> Quit).
4. Start Safari again.
5. Download buttons are not working now.

I expect both buttons to download file named file.bin (5 bytes). But it is working only in freshly opened new tab or after you do manual reload of the tab. Tested on Safari 15.4 and Technology Preview 142.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220406/07d4b322/attachment.htm>


More information about the webkit-unassigned mailing list