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

Unified Diff: core/xml/XMLHttpRequest.idl

Issue 155973006: Roll IDL to 1750 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 10 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/workers/WorkerLocation.idl ('k') | core/xml/XPathResult.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 305ac87116e04d6643241ea6c0e895d15f517784..2fba4d654a1773f641f2fa587e221d5fe1ff74fc 100644
--- a/core/xml/XMLHttpRequest.idl
+++ b/core/xml/XMLHttpRequest.idl
@@ -37,11 +37,9 @@ enum XMLHttpRequestResponseType {
};
[
- GlobalContext=Window&WorkerGlobalScope,
ActiveDOMObject,
- Constructor,
- ConstructorCallWith=ExecutionContext,
- CustomConstructor(optional XMLHttpRequestOptions options)
+ CustomConstructor(optional XMLHttpRequestOptions options),
+ GlobalContext=Window&WorkerGlobalScope,
] interface XMLHttpRequest : XMLHttpRequestEventTarget {
// event handler attributes
attribute EventHandler onreadystatechange;
@@ -53,14 +51,14 @@ enum XMLHttpRequestResponseType {
const unsigned short LOADING = 3;
const unsigned short DONE = 4;
- [SetterRaisesException] attribute unsigned long timeout;
+ [RaisesException=Setter] attribute unsigned long timeout;
readonly attribute unsigned short readyState;
- [SetterRaisesException] attribute boolean withCredentials;
+ [RaisesException=Setter] attribute boolean withCredentials;
- [Custom, ActivityLogging=AccessForAllWorlds, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
+ [Custom, ActivityLogging=ForAllWorlds, RaisesException] void open(DOMString method, DOMString url, optional boolean async, optional DOMString user, optional DOMString password);
- [ActivityLogging=AccessForAllWorlds, RaisesException] void setRequestHeader(DOMString header, DOMString value);
+ [ActivityLogging=ForAllWorlds, RaisesException] void setRequestHeader(DOMString header, DOMString value);
[Custom, RaisesException] void send();
@@ -69,16 +67,16 @@ enum XMLHttpRequestResponseType {
readonly attribute XMLHttpRequestUpload upload;
// response
- [TreatReturnedNullStringAs=Undefined, RaisesException] DOMString getAllResponseHeaders();
- [TreatReturnedNullStringAs=Null, RaisesException] DOMString getResponseHeader(DOMString header);
- [CustomGetter, GetterRaisesException] readonly attribute DOMString responseText; // The custom getter implements TreatReturnedNullStringAs=Null
- [GetterRaisesException] readonly attribute Document responseXML;
+ [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders();
+ [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(DOMString header);
+ [Custom=Getter, RaisesException=Getter] readonly attribute DOMString responseText; // The custom getter implements TreatReturnedNullStringAs=Null
+ [RaisesException=Getter] readonly attribute Document responseXML;
- [SetterRaisesException] attribute XMLHttpRequestResponseType responseType;
- [CustomGetter, GetterRaisesException] readonly attribute Object response;
+ [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;
+ [Custom=Getter, RaisesException=Getter] readonly attribute object response;
- [GetterRaisesException] readonly attribute unsigned short status;
- [GetterRaisesException] readonly attribute DOMString statusText;
+ readonly attribute unsigned short status;
+ readonly attribute DOMString statusText;
// Extension
void overrideMimeType(DOMString override);
« no previous file with comments | « core/workers/WorkerLocation.idl ('k') | core/xml/XPathResult.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698