When Pin Tab, and download file. (If not Pin Tab, it's working) - The first time it will download and have file name "unknown". - The second time, A new tab displaying the error: Safari can't open the page "blob:https://domain/[ blob id ]". The error is: "The operation couldn't be completed. (WebkitBlobResource error 1.)" (WebkitBlobResource:1) Code: const url = window.URL.createObjectURL(new Blob(["Name ,Email"], { type: 'application/csv' })) const downloadLink = document.createElement('a') downloadLink.href = url downloadLink.download = "demo.csv" document.body.appendChild(downloadLink) downloadLink.click() window.URL.revokeObjectURL(url) document.body.removeChild(downloadLink)
<rdar://problem/60611822>
We encountered the same issue with: Safari 13.1, iOS 13.4, WebKit 605.1.15
(In reply to Henning Stummer from comment #2) > We encountered the same issue with: Safari 13.1, iOS 13.4, WebKit 605.1.15 Is this about pinned tabs on iPadOS? This particular bug is about Safari 12 on macOS. We did fix the bug in Safari 13 on macOS (and I am actually not able to reproduce this issue on Safari 13 on macOS). Issue may remain on iPadOS 13 though but this would be a separate bug.
*** This bug has been marked as a duplicate of bug 197441 ***
(In reply to Chris Dumez from comment #3) > (In reply to Henning Stummer from comment #2) > > We encountered the same issue with: Safari 13.1, iOS 13.4, WebKit 605.1.15 > > Is this about pinned tabs on iPadOS? > > This particular bug is about Safari 12 on macOS. We did fix the bug in > Safari 13 on macOS (and I am actually not able to reproduce this issue on > Safari 13 on macOS). > > Issue may remain on iPadOS 13 though but this would be a separate bug. I might be wrong but I don't think we support pinned tabs on iOS.