NetworkError occurred when opening a Blob URL using XHR

Fixed Issue #7754888

Details

Author
Tomohito Y.
Created
Jun 1, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14352
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

“NetworkError” occurred when opening a Blob URL(blob scheme) using XMLHttpRequest.

Expect:

XHR request has completed with no error.

Mozilla Firefox 48 and Google Chrome 52 works as expected.

Actual:

XHR throws "Network Error".

Repro code:

blob = new Blob(['Hello!Konnichiwa!'], { type: 'text/plain' });
// => [object Blob]{size: 17, type: "text/plain"}

blobUrl = URL.createObjectURL(blob);
// => "blob:79308B01-1F99-4474-AE59-205AAAAD71D3"

xhr = new XMLHttpRequest();
// => [object XMLHttpRequest]{DONE: 4, HEADERS_RECEIVED: 2, LOADING: 3, msCaching: "auto", onabort: null, onerror: null, onload: null, onloadend: null, onloadstart: null, onprogress: null, onreadystatechange: null, ontimeout: null, OPENED: 1, readyState: 0, response: "", responseText: "", responseType: "", responseXML: null, status: 0, statusText: "", timeout: 0 ...}

xhr.open('GET', blobUrl);
// => undefined

xhr.send();
// => NetworkError

xhr.responseText
// => ""

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

  • I am not able to repro this in our current stable build of Edge. I get two double quotes returned when I run this repro code.

    What version number of Edge are you seeing this NetworkError message with?

    All the best,
    The MS Edge Team

  • Hi, thank you for your comment.

    I seen that message when I previously tested in build 14352.
    Today, I tested again in build 14393.3 and got no errors. :-)

  • Microsoft Edge Team

    Changed Status to “Fixed”

  • Excellent :)

    Looking forward to more feedback from you in the future. For now we will resolve the item as fixed.

    Best regards,
    The MS Edge Team

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

Sign in