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

Unified Diff: Source/core/xml/XMLHttpRequestEventTarget.idl

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update event-target-in-prototype.html test case Created 7 years, 4 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 | « Source/core/xml/XMLHttpRequestEventTarget.h ('k') | Source/core/xml/XMLHttpRequestUpload.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequestEventTarget.idl
diff --git a/Source/core/page/WindowBase64.idl b/Source/core/xml/XMLHttpRequestEventTarget.idl
similarity index 77%
copy from Source/core/page/WindowBase64.idl
copy to Source/core/xml/XMLHttpRequestEventTarget.idl
index e27a93b90ee5e16638b0b1a3367cbcb9ff000dfe..7ec93d9c456592106aaca2adfe29e8bdb4fe0cff 100644
--- a/Source/core/page/WindowBase64.idl
+++ b/Source/core/xml/XMLHttpRequestEventTarget.idl
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,9 +25,13 @@
*/
[
- NoInterfaceObject,
- ImplementedAs=DOMWindowBase64
-] interface WindowBase64 {
- [RaisesException] DOMString atob(DOMString string);
- [RaisesException] DOMString btoa(DOMString string);
+ NoInterfaceObject
+] interface XMLHttpRequestEventTarget : EventTarget {
+ attribute EventHandler onabort;
+ attribute EventHandler onerror;
+ attribute EventHandler onload;
+ attribute EventHandler onloadend;
+ attribute EventHandler onloadstart;
+ attribute EventHandler onprogress;
+ attribute EventHandler ontimeout;
};
« no previous file with comments | « Source/core/xml/XMLHttpRequestEventTarget.h ('k') | Source/core/xml/XMLHttpRequestUpload.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698