XMLHttpRequest.upload throws Invalid Argument when used from web worker context

Fixed Issue #107521

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
9.9926
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL = http://srvr-clw/bugs/66868/

URL:

Repro Steps:

initialize instance of XMLHttpRequest in web worker and try accessing attribute upload…

<html><body>
<script type="text/javascript">
var worker = new Worker(“WebWorker.js”);
</script>
</body></html>

in WebWorker.js:

var xhr = new XMLHttpRequest();

//Any reference to xhr.upload throws Error e.g.
xhr.upload.addEventListener("progress", function (event) { }, false);

Expected Results:

XMLHttpRequest object’s upload attribute should be accessible from web workers context as it is part of XMLHttpRequest Level 1 specification and actually is working fine from web page’s main thread. Problem is manifesting itself from web worker only.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Assigned To from “IPBS P.” to “Bruce M.”

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Matt K.”

      Changed Status to “Confirmed”

      Changed Title from “XMLHttpRequest.upload throws Invalid Argument when used from web worker context” to “XMLHttpRequest.upload throws Invalid Argument when used from web worker context”

      Changed Assigned To from “Matt K.” to “Brandon M.”

      Changed Status from “Confirmed” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Brandon M.” to “IPBS P.”

      Changed Status from “In progress” to “Fixed”

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

      Changed Assigned To from “IPBS P.” to “Venkat K.”

      Changed Status from “Fixed, not yet flighted”

      Changed Assigned To to “Venkat K.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Venkat K.” to “IPBS P.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To from “IPBS P.” to “Venkat K.”

      Changed Assigned To to “Brandon M.”

      Changed Status from “Won’t fix”

      Changed Title from “XMLHttpRequest.upload throws Invalid Argument when used from web worker context” to “XHR: XMLHttpRequest.upload throws Invalid Argument when used from web worker context”

      Changed Title from “XHR: XMLHttpRequest.upload throws Invalid Argument when used from web worker context” to “XMLHttpRequest.upload throws Invalid Argument when used from web worker context”

      Changed Assigned To from “Brandon M.” to “IPBS P.”

      Changed Status to “Fixed”

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

    Sign in