Require default dictionary value for optional dicts

This commit is contained in:
Kagami Sascha Rosylight 2019-07-06 16:20:50 +09:00
parent 56f31c85ef
commit 01151274f1
71 changed files with 105 additions and 98 deletions

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-wheelevent
[Constructor(DOMString typeArg, optional WheelEventInit wheelEventInitDict),
[Constructor(DOMString typeArg, optional WheelEventInit wheelEventInitDict = {}),
Exposed=Window]
interface WheelEvent : MouseEvent {
const unsigned long DOM_DELTA_PIXEL = 0x00;