Index: Source/core/events/Event.idl |
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl |
index 33db2493168075b220e479010e2eeef60905db30..999b6d5ee65cbf1dfa5e40246e9f917c77dc4ab7 100644 |
--- a/Source/core/events/Event.idl |
+++ b/Source/core/events/Event.idl |
@@ -21,9 +21,9 @@ |
// https://dom.spec.whatwg.org/#interface-event |
[ |
+ Constructor(DOMString type, optional EventInit eventInitDict), |
+ Exposed=(Window,Worker), |
WillBeGarbageCollected, |
- EventConstructor, |
- Exposed=(Window,Worker) |
] interface Event { |
readonly attribute DOMString type; |
readonly attribute EventTarget? target; |
@@ -38,8 +38,8 @@ |
void stopPropagation(); |
void stopImmediatePropagation(); |
- [InitializedByEventConstructor] readonly attribute boolean bubbles; |
- [InitializedByEventConstructor] readonly attribute boolean cancelable; |
+ readonly attribute boolean bubbles; |
+ readonly attribute boolean cancelable; |
void preventDefault(); |
readonly attribute boolean defaultPrevented; |