Skip to content

FileSaver opens blank tab on Chrome for iOS #179

@Faison

Description

@Faison

Hi there,

I'm running into an issue while using this on Chrome for iOS: when the FileSaver.js code is called to save the blob from a canvas, a new tab is opened, but it's blank. The code is fairly similar to the project's demo code, except it runs on a 'click' event instead of a 'submit' event.

You can replicate this issue by doing the following:

  1. Put the demo code from the project (here: https://github.com/eligrey/FileSaver.js/tree/master/demo) onto a web server (local or other).
  2. On an iPhone in Chrome, go to that demo page
  3. Tap on the canvas a few times to make some dots
  4. Click the "Save" button.

The thing that's strange, though, is that the demo at http://eligrey.com/demos/FileSaver.js/ works for chrome on iOS. So there appears to be something breaking the saving on Chrome for iOS in the version that the demo loads in.

This code is pretty above my head, otherwise I'd help look into this, so I'm hoping you guys can help me figure this out.

Thanks,
Faison

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions