eligrey / eligrey/FileSaver.js
Safari 12.0.1 saveAs error
- Dominant language
- JavaScript
- Stars
- 22k
- Forks
- 4.3k
- PR merge metrics
- No merged PRs in 30d
Description
This call is failing when used with Safari 12.0.1 (14606.2.104.1.1).
Other browsers and other Safari versions are working OK. Has anyone ran into this?
const blob = new Blob([csv], { type: 'text/csv;charset=utf-8' });
FileSaver.saveAs(blob, filename);
It is failing with the attached the message Safari can't open the page blob:// The error is 'Operation couldn't be completed. WebKitBlobResourceError 1.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the shown Blob and FileSaver.saveAs call in Safari 12.0.1, then compare it with the browsers and Safari versions that work. Read the FileSaver.js implementation involved in creating or opening the blob URL; done means identifying and resolving the reported Safari-specific failure, with the behavior verified against the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100