[Webkit-unassigned] [Bug 275288] New: Installed PWA not downloading pictures
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 7 19:31:03 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275288
Bug ID: 275288
Summary: Installed PWA not downloading pictures
Product: WebKit
Version: Safari 17
Hardware: iPhone / iPad
OS: iOS 17
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: laszlo.alt at gmail.com
CC: sabouhallawa at apple.com
When visiting a PWA from Safari mobile and downloading a picture, the download prompt appears and asks the user to download, upon clicking it will save the file to downloads folder.
If you add/install the PWA to the Home screen, the download no longer works at all and shows no indication of a download.
Android with Chrome behaviour appears to be similar to the non-installed PWA in iOS/Safari for these downloads.
Here is the example JS/TS used for the reproduction (blob is already a smaller/compressed picture)
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = fileName;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
URL.revokeObjectURL(url);
--
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/20240608/882f1384/attachment.htm>
More information about the webkit-unassigned
mailing list