blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not properly fill in the "From:" field in the download dialog

Fixed, flighted Issue #10027944

Details

Created
Dec 1, 2016
Privacy
This issue is public.
Fixed in build #
15018
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

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

var blob = new Blob([data]);

var filename = “test.txt”

let a = document.createElement(‘a’);
var url = window.URL.createObjectURL(blob);
a.href = url;
a.download = filename;
document.body.appendChild(a);
a.click();

Running this code in Edge pops a download bar with a “From:” field set to "about:blob". This is not indicative of which page/extension triggered the download. In Chrome, the behavior is as follows:

Regular pages: URL of page
Content scripts: URL of page content script is injected into
Extension pages: URL of extension (chrome-extension://<extID>)
Background script: URL of extension (chrome-extension://<extID>)

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Title from “blob saving via injected anchor tag does not prompt where to save if the file type has a default assigned app in the system” to “blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not prompt where to save if the file type has a default assigned app in the system”

      Changed Steps to Reproduce

      Changed Title from “blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not prompt where to save if the file type has a default assigned app in the system” to “blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not proeprly fill in the "From:" field in the download dialog”

      Changed Title from “blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not proeprly fill in the "From:" field in the download dialog” to “blob saving via injected anchor tag/msSaveBlob/msSaveOrOpenBlob does not properly fill in the "From:" field in the download dialog”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Ryan C.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Ryan C.” to “Ben L.”

      Changed Assigned To from “Ben L.” to “Scott L.”

      Changed Status from “Confirmed” to “Fixed, not yet flighted”

    • This bug has been fixed in our development branches and will be available in an upcoming Windows Insider Preview build.

    • Microsoft Edge Team

      Changed Status from “Fixed, not yet flighted” to “Fixed, flighted”

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

    Sign in