Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / page / EventSource.idl
index b43938d..d96ca6d 100644 (file)
  */
 
 [
-    GlobalContext=Window&WorkerGlobalScope,
+    WillBeGarbageCollected,
     ActiveDOMObject,
-    Constructor(DOMString url, optional Dictionary eventSourceInit),
+    Constructor(DOMString url, optional EventSourceInit eventSourceInit),
     ConstructorCallWith=ExecutionContext,
-    ConstructorRaisesException
+    Exposed=(Window,Worker),
+    RaisesException=Constructor,
 ] interface EventSource : EventTarget {
 
-    readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
+    [DeprecateAs=EventSourceURL] readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
     readonly attribute DOMString url;
     readonly attribute boolean withCredentials;