[Webkit-unassigned] [Bug 209407] New: Download attribute does not work when page is installed on home screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 22 16:41:55 PDT 2020


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

            Bug ID: 209407
           Summary: Download attribute does not work when page is
                    installed on home screen
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tony.hursh at gmail.com

Created attachment 394235

  --> https://bugs.webkit.org/attachment.cgi?id=394235&action=review

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

-- 
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/20200322/be8b3ca8/attachment.htm>


More information about the webkit-unassigned mailing list