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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 2 05:55:48 PDT 2022


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

--- Comment #6 from youenn fablet <youennf at gmail.com> ---
(In reply to mrskman from comment #5)
> Downloads there are always asynchronous (navigator.serviceWorker.register is
> called first), so setTimeout is working fine until you reopen the tab.

Right, so one workaround so far is to register a service worker specifically for downloads, in advance, then the download can be triggered synchronously in the click event handler.

> You can test it with the third button I've added.

Thanks for the updated test.

-- 
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/20220602/4e9a4e55/attachment.htm>


More information about the webkit-unassigned mailing list