mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use ByteString in XHR
This commit is contained in:
parent
53777807f9
commit
a4c5df3494
3 changed files with 17 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue