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

Unified Diff: core/page/EventSource.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: 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 | « core/page/Console.idl ('k') | core/page/ImageBitmap.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/page/EventSource.idl
diff --git a/core/page/EventSource.idl b/core/page/EventSource.idl
index b50a876d33b9163aa42613926d6818aa5763ee64..d92caa9df7030dadae98a93f3f97c648eed1bdfa 100644
--- a/core/page/EventSource.idl
+++ b/core/page/EventSource.idl
@@ -30,13 +30,12 @@
*/
[
- GlobalContext=WindowAndWorker,
+ GlobalContext=Window&WorkerGlobalScope,
ActiveDOMObject,
Constructor(DOMString url, optional Dictionary eventSourceInit),
ConstructorCallWith=ScriptExecutionContext,
- ConstructorRaisesException,
- EventTarget
-] interface EventSource {
+ ConstructorRaisesException
+] interface EventSource : EventTarget {
readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
readonly attribute DOMString url;
@@ -53,14 +52,4 @@
attribute EventListener onmessage;
attribute EventListener onerror;
void close();
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
-
};
« no previous file with comments | « core/page/Console.idl ('k') | core/page/ImageBitmap.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698