| Index: core/xml/XMLHttpRequest.idl
|
| diff --git a/core/xml/XMLHttpRequest.idl b/core/xml/XMLHttpRequest.idl
|
| index 6eaa71bd8e2e6572d142a69a9d9baceb12bf46e9..6147be44b0ef16bc7752aae26e34265cd1f54101 100644
|
| --- a/core/xml/XMLHttpRequest.idl
|
| +++ b/core/xml/XMLHttpRequest.idl
|
| @@ -33,14 +33,14 @@ enum XMLHttpRequestResponseType {
|
| "document",
|
| "json",
|
| "text",
|
| - "stream"
|
| + "legacystream"
|
| };
|
|
|
| [
|
| WillBeGarbageCollected,
|
| ActiveDOMObject,
|
| CustomConstructor(optional XMLHttpRequestOptions options),
|
| - Exposed=Window&Worker
|
| + Exposed=(Window,DedicatedWorker,SharedWorker)
|
| ] interface XMLHttpRequest : XMLHttpRequestEventTarget {
|
| // event handler attributes
|
| attribute EventHandler onreadystatechange;
|
| @@ -57,9 +57,9 @@ enum XMLHttpRequestResponseType {
|
|
|
| [RaisesException=Setter] attribute boolean withCredentials;
|
|
|
| - [Custom, LogActivity, LogAllWorlds, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
|
| + [Custom, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
|
|
|
| - [LogActivity, LogAllWorlds, RaisesException] void setRequestHeader(DOMString header, DOMString value);
|
| + [RaisesException] void setRequestHeader(DOMString header, DOMString value);
|
|
|
| [Custom, RaisesException] void send();
|
| // FIXMEDART: send(ArrayBuffer data) should be eventually deprecated.
|
| @@ -76,8 +76,8 @@ enum XMLHttpRequestResponseType {
|
|
|
| // response
|
| [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders();
|
| - [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(DOMString header);
|
| - [Custom=Getter, RaisesException=Getter] readonly attribute DOMString responseText; // The custom getter implements TreatReturnedNullStringAs=Null
|
| + DOMString? getResponseHeader(DOMString header);
|
| + [Custom=Getter, RaisesException=Getter] readonly attribute DOMString? responseText;
|
| [RaisesException=Getter] readonly attribute Document responseXML;
|
|
|
| [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;
|
|
|