summaryrefslogtreecommitdiffstats
path: root/dom/webidl/TimeEvent.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/TimeEvent.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/TimeEvent.webidl')
-rw-r--r--dom/webidl/TimeEvent.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/webidl/TimeEvent.webidl b/dom/webidl/TimeEvent.webidl
index 40e7a0beb..8bbe4db53 100644
--- a/dom/webidl/TimeEvent.webidl
+++ b/dom/webidl/TimeEvent.webidl
@@ -15,6 +15,6 @@ interface TimeEvent : Event
readonly attribute long detail;
readonly attribute WindowProxy? view;
void initTimeEvent(DOMString aType,
- Window? aView,
- long aDetail);
+ optional Window? aView = null,
+ optional long aDetail = 0);
};