blob saving via msSaveBlob/msSaveOrOpenBlob does not respect the "Ask me what to do with each download" option in Edge

Not reproducible Issue #10029664

Details

Created
Dec 1, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

var data = {
 foo: "bar",
 bar: “baz”
};

var blob = blob = new Blob([data]);
var filename = “test.txt”

if (window.navigator.msSaveBlob) {
 alert(‘Testing msSaveBlob’);

 try {
  blob = new Blob([“Hello”]);
  window.navigator.msSaveBlob(blob, filename);
 } catch (e) {
  alert("Error: " + e);
 }
}

As long as the file extension specified in filename is not recognized by the system (see 10029510), then msSaveBlob/msSaveOrOpenBlob will prompt the user where they wish to download the blob to regardless of their “Ask me what to do with each download” setting

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Scott L.”

      Changed Status to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in