Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: core/xml/XMLHttpRequest.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/xml/DocumentXPathEvaluator.idl ('k') | core/xml/XMLHttpRequestProgressEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/xml/XMLHttpRequest.idl
diff --git a/core/xml/XMLHttpRequest.idl b/core/xml/XMLHttpRequest.idl
index 2fba4d654a1773f641f2fa587e221d5fe1ff74fc..6eaa71bd8e2e6572d142a69a9d9baceb12bf46e9 100644
--- a/core/xml/XMLHttpRequest.idl
+++ b/core/xml/XMLHttpRequest.idl
@@ -37,9 +37,10 @@ enum XMLHttpRequestResponseType {
};
[
+ WillBeGarbageCollected,
ActiveDOMObject,
CustomConstructor(optional XMLHttpRequestOptions options),
- GlobalContext=Window&WorkerGlobalScope,
+ Exposed=Window&Worker
] interface XMLHttpRequest : XMLHttpRequestEventTarget {
// event handler attributes
attribute EventHandler onreadystatechange;
@@ -56,11 +57,18 @@ enum XMLHttpRequestResponseType {
[RaisesException=Setter] attribute boolean withCredentials;
- [Custom, ActivityLogging=ForAllWorlds, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
+ [Custom, LogActivity, LogAllWorlds, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
- [ActivityLogging=ForAllWorlds, RaisesException] void setRequestHeader(DOMString header, DOMString value);
+ [LogActivity, LogAllWorlds, RaisesException] void setRequestHeader(DOMString header, DOMString value);
[Custom, RaisesException] void send();
+ // FIXMEDART: send(ArrayBuffer data) should be eventually deprecated.
+ [DartCustom=New] void send(ArrayBuffer data);
+ [DartCustom=New] void send(ArrayBufferView data);
+ [DartCustom=New] void send(Blob data);
+ [DartCustom=New] void send(Document data);
+ [DartCustom=New] void send(DOMString data);
+ [DartCustom=New] void send(FormData data);
void abort();
@@ -74,6 +82,7 @@ enum XMLHttpRequestResponseType {
[RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;
[Custom=Getter, RaisesException=Getter] readonly attribute object response;
+ readonly attribute DOMString responseURL;
readonly attribute unsigned short status;
readonly attribute DOMString statusText;
« no previous file with comments | « core/xml/DocumentXPathEvaluator.idl ('k') | core/xml/XMLHttpRequestProgressEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698