diff --git a/index.html b/index.html index 09d6fb0..1a10399 100644 --- a/index.html +++ b/index.html @@ -101,7 +101,7 @@ } - +

The Gamepad specification defines a low-level interface that represents @@ -192,7 +192,7 @@

This interface defines an individual gamepad device.

-        [Exposed=Window]
+        [Exposed=Window, SecureContext]
         interface Gamepad {
           readonly attribute DOMString id;
           readonly attribute long index;
@@ -301,7 +301,7 @@ 

device.

-        [Exposed=Window]
+        [Exposed=Window, SecureContext]
         interface GamepadButton {
           readonly attribute boolean pressed;
           readonly attribute boolean touched;
@@ -396,6 +396,13 @@ 

getGamepads()
+

+ The gamepad state returned from {{Navigator/getGamepads()}} does + not reflect disconnection or connection until after the + gamepaddisconnected or gamepadconnected events have + fired. +

+

If the current settings object's [=environment settings object / responsible document=] is not allowed to use the "`gamepad`" permission, then [=exception/throw=] a {{"SecurityError"}} @@ -440,7 +447,7 @@

GamepadEvent Interface

-        [Exposed=Window]
+        [Exposed=Window, SecureContext]
 
         interface GamepadEvent: Event {
           constructor(DOMString type, GamepadEventInit eventInitDict);
@@ -750,6 +757,10 @@ 

page was loaded, the gamepadconnected event SHOULD be dispatched when the user presses a button or moves an axis.

+

+ A user agent MUST NOT dispatch this event type if the + environment settings object is a non-secure context. +

@@ -770,6 +781,10 @@

event for that gamepad to a window, a gamepaddisconnected event MUST be dispatched to that same window.

+

+ A user agent MUST NOT dispatch this event type if the + environment settings object is a non-secure context. +