*/
[
- 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;