Implement the overrideMimeType method for XMLHttpRequest

This commit is contained in:
Jitendra Jain 2015-10-17 22:25:32 -04:00
parent 4067960ba5
commit ed809a60bf
11 changed files with 32 additions and 26 deletions

View file

@ -65,7 +65,8 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
readonly attribute ByteString statusText;
ByteString? getResponseHeader(ByteString name);
ByteString getAllResponseHeaders();
// void overrideMimeType(DOMString mime);
[Throws]
void overrideMimeType(DOMString mime);
[SetterThrows]
attribute XMLHttpRequestResponseType responseType;
readonly attribute any response;