diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-03 19:39:11 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-05-03 19:39:11 +0530 |
commit | a4c5df34949f47fa1a39600f72df03cdac30b54b (patch) | |
tree | 0ee4c147b3c218294408d7c49a0b65596243e23a /src/components/script/dom/webidls/XMLHttpRequest.webidl | |
parent | 53777807f96e64c64f1ef995f54e630122856366 (diff) | |
download | servo-a4c5df34949f47fa1a39600f72df03cdac30b54b.tar.gz servo-a4c5df34949f47fa1a39600f72df03cdac30b54b.zip |
Use ByteString in XHR
Diffstat (limited to 'src/components/script/dom/webidls/XMLHttpRequest.webidl')
-rw-r--r-- | src/components/script/dom/webidls/XMLHttpRequest.webidl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/script/dom/webidls/XMLHttpRequest.webidl b/src/components/script/dom/webidls/XMLHttpRequest.webidl index dd3023a05ca..6d98dd37377 100644 --- a/src/components/script/dom/webidls/XMLHttpRequest.webidl +++ b/src/components/script/dom/webidls/XMLHttpRequest.webidl @@ -38,11 +38,11 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { readonly attribute unsigned short readyState; // request - // void open(/* ByteString */ DOMString method, /* [EnsureUTF16] */ DOMString url); + // void open(ByteString method, /* [EnsureUTF16] */ DOMString url); - // void open(/* ByteString */ DOMString method, /* [EnsureUTF16] */ DOMString url, boolean async, optional /* [EnsureUTF16] */ DOMString? username = null, optional /* [EnsureUTF16] */ DOMString? password = null); + // void open(ByteString method, /* [EnsureUTF16] */ DOMString url, boolean async, optional /* [EnsureUTF16] */ DOMString? username = null, optional /* [EnsureUTF16] */ DOMString? password = null); - // void setRequestHeader(/* ByteString */ DOMString name, /* ByteString */ DOMString value); + // void setRequestHeader(ByteString name, ByteString value); attribute unsigned long timeout; attribute boolean withCredentials; readonly attribute XMLHttpRequestUpload upload; @@ -52,9 +52,9 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { // response readonly attribute DOMString responseURL; readonly attribute unsigned short status; - readonly attribute /* ByteString*/ DOMString statusText; - // DOMString? /*ByteString?*/ getResponseHeader(/*ByteString*/ DOMString name); - // DOMString /*ByteString*/ getAllResponseHeaders(); + readonly attribute ByteString statusText; + // ByteString? getResponseHeader(ByteString name); + // ByteString getAllResponseHeaders(); // void overrideMimeType(DOMString mime); attribute XMLHttpRequestResponseType responseType; // readonly attribute any response; |