Index: Source/core/events/CustomEvent.idl |
diff --git a/Source/core/events/CustomEvent.idl b/Source/core/events/CustomEvent.idl |
index 9add72f557d999b247b76b1acb993b6dfc2ce3db..072cc26af4daf282b635816078fdf9479d32219f 100644 |
--- a/Source/core/events/CustomEvent.idl |
+++ b/Source/core/events/CustomEvent.idl |
@@ -23,12 +23,15 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://dom.spec.whatwg.org/#interface-customevent |
+ |
[ |
EventConstructor, |
Exposed=(Window,Worker) |
] interface CustomEvent : Event { |
[Custom=Getter, InitializedByEventConstructor] readonly attribute any detail; |
+ // FIXME: initCustomEvent()'s arguments should not be optional. |
[Custom] void initCustomEvent([Default=Undefined] optional DOMString typeArg, |
[Default=Undefined] optional boolean canBubbleArg, |
[Default=Undefined] optional boolean cancelableArg, |