Index: core/page/EventSource.idl |
diff --git a/core/page/EventSource.idl b/core/page/EventSource.idl |
index d96ca6d278b9a778738f21876cc46edf029093b4..cabfc5cecd0dc8892bc4832cb427fe5871483fa3 100644 |
--- a/core/page/EventSource.idl |
+++ b/core/page/EventSource.idl |
@@ -29,16 +29,16 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/multipage/comms.html#the-eventsource-interface |
+ |
[ |
- WillBeGarbageCollected, |
ActiveDOMObject, |
- Constructor(DOMString url, optional EventSourceInit eventSourceInit), |
+ Constructor(DOMString url, optional EventSourceInit eventSourceInitDict), |
ConstructorCallWith=ExecutionContext, |
Exposed=(Window,Worker), |
+ GarbageCollected, |
RaisesException=Constructor, |
] interface EventSource : EventTarget { |
- |
- [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; |