Bug 236943
Summary: | File download link in PWA cannot be exited | ||
---|---|---|---|
Product: | WebKit | Reporter: | William O'Connell <webkitbugs> |
Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | bdakin, bfulgham, tykhorses+webkitbugzilla, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 15 |
William O'Connell
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/89242693>
Brent Fulgham
This is actually tracked here:
rdar://52460025
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".
Sam Sneddon [:gsnedders]
*** Bug 231892 has been marked as a duplicate of this bug. ***