IE11 - XMLHttpRequest incorrectly throws InvalidStateError when setting responseType - by Scott K Hunter

Status : 

 


ID 795580 Comments
Status Active Workarounds
Type Bug Repros 2
Opened 7/31/2013 12:42:59 PM
Access Restriction Public

Description

This JavaScript throws an InvalidStateError:

var xhr = new XMLHttpRequest();
xhr.responseType = "blob";

This not compliant with the XHR spec:

http://www.w3.org/TR/XMLHttpRequest/#the-responsetype-attribute

which says that "InvalidStateError" is only thrown when LOADING or DONE.  In this case, the state is UNSENT.
Sign in to post a comment.
Posted by Microsoft on 8/1/2013 at 1:58 PM
Thank you for your feedback.

We are currently unable to reproduce this issue as described.


We value your feedback. If you have additional information that can help us recreate this issue — such as a specific url, more detailed steps, test results from different machines, or additional conditions — please reactivate the bug or submit a new bug with more details on how to reproduce the issue. You can also read the guidelines at https://connect.microsoft.com/IE/content/content.aspx?ContentID=16254 regarding filing a good bug report.

Best regards,

The Internet Explorer Team