Created attachment 8761095 [details] xhr_responsetype_in_worker.html STR: Run the attached file and check the page console. Observed: page throws exception "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" Expected: it should be possible to set responseType to 'arraybuffer' when an XHR is initiated in a web worker. Note how the code does work when run in main thread.
Created attachment 8761615 [details] [diff] [review] xhr.patch Maybe khuey can review this, but he is on vacation. Smaug, if you are busy, just move this review request. Or ping me on IRC and I do it.
Created attachment 8761616 [details] [diff] [review] xhr.patch
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/0f8bf34b3dcc XHR in workers should support the setting of responseType before calling open(), r=bkelly