summaryrefslogtreecommitdiffstats
path: root/dom/webidl/CommandEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/CommandEvent.webidl')
-rw-r--r--dom/webidl/CommandEvent.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/CommandEvent.webidl b/dom/webidl/CommandEvent.webidl
index 8c16e856c..9856c77c3 100644
--- a/dom/webidl/CommandEvent.webidl
+++ b/dom/webidl/CommandEvent.webidl
@@ -8,7 +8,7 @@ interface CommandEvent : Event {
readonly attribute DOMString? command;
void initCommandEvent(DOMString type,
- boolean canBubble,
- boolean cancelable,
- DOMString? command);
+ optional boolean canBubble = false,
+ optional boolean cancelable = false,
+ optional DOMString? command = null);
};