summaryrefslogtreecommitdiffstats
path: root/dom/webidl/CompositionEvent.webidl
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-04 21:07:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-04 21:07:48 +0200
commite42166a5bacbd034538b0df9616eefad5c90e26e (patch)
tree83adfd9f58cde798a432371c2dc254a25ab8cf31 /dom/webidl/CompositionEvent.webidl
parent26975ccf5609c787f088e462a72b24bd1a555126 (diff)
downloadUXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar
UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.gz
UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.lz
UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.xz
UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.zip
Make all arguments to init*Event() optional except the first
This resolves #810.
Diffstat (limited to 'dom/webidl/CompositionEvent.webidl')
-rw-r--r--dom/webidl/CompositionEvent.webidl10
1 files changed, 5 insertions, 5 deletions
diff --git a/dom/webidl/CompositionEvent.webidl b/dom/webidl/CompositionEvent.webidl
index c293683ce..e4a54d678 100644
--- a/dom/webidl/CompositionEvent.webidl
+++ b/dom/webidl/CompositionEvent.webidl
@@ -25,9 +25,9 @@ interface CompositionEvent : UIEvent
partial interface CompositionEvent
{
void initCompositionEvent(DOMString typeArg,
- boolean canBubbleArg,
- boolean cancelableArg,
- Window? viewArg,
- DOMString? dataArg,
- DOMString localeArg);
+ optional boolean canBubbleArg = false,
+ optional boolean cancelableArg = false,
+ optional Window? viewArg = null,
+ optional DOMString? dataArg = null,
+ optional DOMString localeArg = "");
};