[w3c/gamepad] Require focus for initial gamepad user gesture (Issue #206)

Gamepad API uses the "gamepad user gesture" as a signal that the user consents to exposing gamepad information. This makes it possible to unintentionally expose gamepad information when interacting with gamepads on another site.

The spec should be amended to require that the window is focused when the gesture is received so that access is only granted for the focused tab.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/206
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/issues/206@github.com>

Received on Friday, 10 May 2024 20:42:30 UTC