| 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);
|
| -
|
| };
|
|
|