Bug 236943 - File download link in PWA cannot be exited
Summary: File download link in PWA cannot be exited
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
Keywords: InRadar
: 231892 (view as bug list)
Depends on:
Reported: 2022-02-20 13:33 PST by William O'Connell
Modified: 2023-04-03 09:15 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description William O'Connell 2022-02-20 13:33:48 PST
When clicking an <a> with a download attribute, Safari asks which app should be used to open the file. However, in an installed PWA the user becomes stranded with no way to go back other than force quitting and relaunching the app.

Steps to reproduce:
1) Visit https://safari-download-bug.surge.sh/ on an iPhone
2) Add the site to your home screen
3) Open it from the home screen
4) Click the link

The app ends up on a file download screen (screenshot: https://will-o.co/WitWcA9Sqj.png) with no other navigation. Even the swipe back gesture doesn't work. There should be a "done" or "back" button somewhere.

Found on an iPhone X running iOS 15.2.1
Comment 1 Radar WebKit Bug Importer 2022-02-21 10:11:37 PST
Comment 2 Brent Fulgham 2022-06-23 15:26:28 PDT
This is actually tracked here:

Unfortunately, this is an issue outside of the WebKit project and cannot be resolved with a check-in for this project. Therefore this is marked as "RESOLVED | MOVED".
Comment 3 Sam Sneddon [:gsnedders] 2023-04-03 09:15:12 PDT
*** Bug 231892 has been marked as a duplicate of this bug. ***