From b6d7d6b6c7f2048199b6164da27a6ed785487bcf Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Fri, 23 Aug 2019 17:15:06 +0900 Subject: [PATCH] Add explicit [Exposed] + default dictionary value --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 80eeb6c..7c5ddc9 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,8 @@

The InputDeviceCapabilities interface

keyboard device).

-        [Constructor(optional InputDeviceCapabilitiesInit deviceInitDict)]
+        [Exposed=Window,
+         Constructor(optional InputDeviceCapabilitiesInit deviceInitDict = {})]
         interface InputDeviceCapabilities {
           readonly attribute boolean firesTouchEvents;
           readonly attribute boolean pointerMovementScrolls;