[Webkit-unassigned] [Bug 263608] TXT and XML Files open in tab on iOS Safari instead of downloading
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 11 06:29:40 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=263608
pollx <ppoollllxx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppoollllxx at gmail.com
--- Comment #2 from pollx <ppoollllxx at gmail.com> ---
Same issue when trying to download a pdf file in the form of Blob:
const pdfBlob = await pdfBinaryRes.blob()
const blobUrl = window.URL.createObjectURL(pdfBlob)
const link = document.createElement('a')
link.href = blobUrl
link.download = filename
link.click()
--
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/20240111/bbd92ba1/attachment.htm>
More information about the webkit-unassigned
mailing list