diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-15 23:11:32 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-20 21:01:12 +0530 |
commit | 533fab46f95ec64da3385851e0a09cae15211e90 (patch) | |
tree | 3325188f22df2ebb65ed52099fe66aebe7d71f38 /src/components/script/dom/webidls/XMLHttpRequest.webidl | |
parent | 90a0bcfa78ddf89031d54e4ed8ae84e2b171b4d0 (diff) | |
download | servo-533fab46f95ec64da3385851e0a09cae15211e90.tar.gz servo-533fab46f95ec64da3385851e0a09cae15211e90.zip |
Async XHR GET with basic response header support
Diffstat (limited to 'src/components/script/dom/webidls/XMLHttpRequest.webidl')
-rw-r--r-- | src/components/script/dom/webidls/XMLHttpRequest.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/webidls/XMLHttpRequest.webidl b/src/components/script/dom/webidls/XMLHttpRequest.webidl index 4ed726d7e48..da849b7903d 100644 --- a/src/components/script/dom/webidls/XMLHttpRequest.webidl +++ b/src/components/script/dom/webidls/XMLHttpRequest.webidl @@ -40,8 +40,8 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { // request [Throws] void open(ByteString method, /* [EnsureUTF16] */ DOMString url); - - // void open(ByteString method, /* [EnsureUTF16] */ DOMString url, boolean async, optional /* [EnsureUTF16] */ DOMString? username = null, optional /* [EnsureUTF16] */ DOMString? password = null); + [Throws] + void open(ByteString method, /* [EnsureUTF16] */ DOMString url, boolean async, optional /* [EnsureUTF16] */ DOMString? username = null, optional /* [EnsureUTF16] */ DOMString? password = null); // void setRequestHeader(ByteString name, ByteString value); attribute unsigned long timeout; @@ -56,7 +56,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { readonly attribute unsigned short status; readonly attribute ByteString statusText; // ByteString? getResponseHeader(ByteString name); - // ByteString getAllResponseHeaders(); + ByteString getAllResponseHeaders(); // void overrideMimeType(DOMString mime); attribute XMLHttpRequestResponseType responseType; readonly attribute any response; |