JSON response support and some default headers

This commit is contained in:
Manish Goregaokar 2014-06-05 23:31:08 +05:30
parent 10b1e655b0
commit cfa20e9fba
3 changed files with 82 additions and 22 deletions

View file

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