summaryrefslogtreecommitdiffstats
path: root/dom/webidl/CustomEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/CustomEvent.webidl')
-rw-r--r--dom/webidl/CustomEvent.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/CustomEvent.webidl b/dom/webidl/CustomEvent.webidl
index 299a41ec0..1ea5572b7 100644
--- a/dom/webidl/CustomEvent.webidl
+++ b/dom/webidl/CustomEvent.webidl
@@ -19,9 +19,9 @@ interface CustomEvent : Event
// initCustomEvent is a Gecko specific deprecated method.
[Throws]
void initCustomEvent(DOMString type,
- boolean canBubble,
- boolean cancelable,
- any detail);
+ optional boolean canBubble = false,
+ optional boolean cancelable = false,
+ optional any detail = null);
};
dictionary CustomEventInit : EventInit