summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/page/EventSource.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/page/EventSource.idl')
-rw-r--r--chromium/third_party/WebKit/Source/core/page/EventSource.idl5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/page/EventSource.idl b/chromium/third_party/WebKit/Source/core/page/EventSource.idl
index 3562791dd24..932fecee733 100644
--- a/chromium/third_party/WebKit/Source/core/page/EventSource.idl
+++ b/chromium/third_party/WebKit/Source/core/page/EventSource.idl
@@ -30,14 +30,15 @@
*/
[
+ WillBeGarbageCollected,
ActiveDOMObject,
Constructor(DOMString url, optional Dictionary eventSourceInit),
ConstructorCallWith=ExecutionContext,
- GlobalContext=Window&WorkerGlobalScope,
+ 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.
+ [MeasureAs=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;