WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209407
Download attribute does not work when page is installed on home screen
https://bugs.webkit.org/show_bug.cgi?id=209407
Summary
Download attribute does not work when page is installed on home screen
Tony Hursh
Reported
2020-03-22 16:41:55 PDT
Created
attachment 394235
[details]
Small HTML file that demonstrates the issue. The download attribute works fine for me in both desktop and mobile Safari, as long as the page is loaded normally. However, it fails when the page is installed to the device home screen. On the old bug, #167341, another commenter mentioned some peculiarities with pages installed to the home screen, but what I'm seeing is slightly different. It just fails silently. When I inspect it in a remote debugging console from desktop Safari, no errors are shown. A minimal example is attached. Steps to reproduce: 1) Load attached HTML file in mobile Safari. 2) Add the page to the device home screen. 2) Click the "Click to prepare file" button to generate the file. 3) Click the "Click to download file" link. Results: Desktop Safari: works fine. Mobile Safari when loaded as a normal web page: works fine. Mobile Safari when added to the home screen: fails silently. Mobile Safari version: Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1
Attachments
Small HTML file that demonstrates the issue.
(865 bytes, text/html)
2020-03-22 16:41 PDT
,
Tony Hursh
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-03-24 19:15:08 PDT
<
rdar://problem/60854018
>
Brady Eidson
Comment 2
2020-03-24 22:25:21 PDT
I highly suspect this is not a Webkit issue and is rather an issue with Apple internal app that hosts "Save to home screen" web apps. Running the radar by that team.
Tony Hursh
Comment 3
2020-12-20 22:03:38 PST
I just revisited this after some time, and it appears that the bug/limitation has been fixed in (or possibly before) iOS 14.3. Marking as Resolved.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug