summaryrefslogtreecommitdiffstats
path: root/dom/webidl/TimeEvent.webidl
diff options
context:
space:
mode:
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);
};