diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-04 21:07:48 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-04 21:07:48 +0200 |
commit | e42166a5bacbd034538b0df9616eefad5c90e26e (patch) | |
tree | 83adfd9f58cde798a432371c2dc254a25ab8cf31 /dom/webidl/CommandEvent.webidl | |
parent | 26975ccf5609c787f088e462a72b24bd1a555126 (diff) | |
download | uxp-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.gz |
Make all arguments to init*Event() optional except the first
This resolves #810.
Diffstat (limited to 'dom/webidl/CommandEvent.webidl')
-rw-r--r-- | dom/webidl/CommandEvent.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/CommandEvent.webidl b/dom/webidl/CommandEvent.webidl index 8c16e856c3..9856c77c3f 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); }; |