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/DeviceOrientationEvent.webidl | |
parent | 26975ccf5609c787f088e462a72b24bd1a555126 (diff) | |
download | UXP-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/DeviceOrientationEvent.webidl')
-rw-r--r-- | dom/webidl/DeviceOrientationEvent.webidl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dom/webidl/DeviceOrientationEvent.webidl b/dom/webidl/DeviceOrientationEvent.webidl index 46194453e..9802b3681 100644 --- a/dom/webidl/DeviceOrientationEvent.webidl +++ b/dom/webidl/DeviceOrientationEvent.webidl @@ -14,12 +14,12 @@ interface DeviceOrientationEvent : Event // initDeviceOrientationEvent is a Gecko specific deprecated method. void initDeviceOrientationEvent(DOMString type, - boolean canBubble, - boolean cancelable, - double? alpha, - double? beta, - double? gamma, - boolean absolute); + optional boolean canBubble = false, + optional boolean cancelable = false, + optional double? alpha = null, + optional double? beta = null, + optional double? gamma = null, + optional boolean absolute = false); }; dictionary DeviceOrientationEventInit : EventInit |