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

Unified Diff: core/xmlhttprequest/XMLHttpRequestEventTarget.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/xmlhttprequest/XMLHttpRequest.idl ('k') | core/xmlhttprequest/XMLHttpRequestProgressEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/xmlhttprequest/XMLHttpRequestEventTarget.idl
diff --git a/core/xml/XMLHttpRequestEventTarget.idl b/core/xmlhttprequest/XMLHttpRequestEventTarget.idl
similarity index 87%
rename from core/xml/XMLHttpRequestEventTarget.idl
rename to core/xmlhttprequest/XMLHttpRequestEventTarget.idl
index 7ec93d9c456592106aaca2adfe29e8bdb4fe0cff..6854477633930305c90269c2a7d2fae30fce3921 100644
--- a/core/xml/XMLHttpRequestEventTarget.idl
+++ b/core/xmlhttprequest/XMLHttpRequestEventTarget.idl
@@ -24,14 +24,20 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://xhr.spec.whatwg.org/#xmlhttprequesteventtarget
+
[
- NoInterfaceObject
+ GarbageCollected,
+ // TODO(philipj): The spec has Exposed=(Window,Worker)
+ // https://github.com/whatwg/xhr/issues/19
+ Exposed=(Window,DedicatedWorker,SharedWorker)
] interface XMLHttpRequestEventTarget : EventTarget {
+ // event handlers
+ attribute EventHandler onloadstart;
+ attribute EventHandler onprogress;
attribute EventHandler onabort;
attribute EventHandler onerror;
attribute EventHandler onload;
- attribute EventHandler onloadend;
- attribute EventHandler onloadstart;
- attribute EventHandler onprogress;
attribute EventHandler ontimeout;
+ attribute EventHandler onloadend;
};
« no previous file with comments | « core/xmlhttprequest/XMLHttpRequest.idl ('k') | core/xmlhttprequest/XMLHttpRequestProgressEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698