scratch-gui: File->Download causes crash on iOS Safari

Expected Behavior

Selecting File->Download to your computer on iOS Safari should work, or be grayed out.

Actual Behavior

It tries to load a URL starting with blob, and shows an error page including WebKitBlobResource error 1

Operating System and Browser

iOS 11.2.2 Safari

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Looks like using a library that handles the many edge cases of saving files out of the browser like https://github.com/eligrey/FileSaver.js/ would help. It is definitely possible to save those files on mobile safari, just takes a fair bit of trickery.