Re: [w3c/gamepad] gamepadconnected/disconnected events & non-"fully active" documents (#149)

We have some [Chromium-specific test infrastructure](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/gamepad/gamepad-api.html) which can attach mock gamepads and is useful for validating this type of behavior. For other device APIs we've done some work to make it plausible for tests to be shared between implementations as long as they implement a similar interface for controlling the mocks. So far that hasn't been done for the gamepad tests so all that is in WPT are basic IDL tests and some manual ones which assume the user can plug in a gamepad and press buttons. These are definitely better than nothing and I encourage adding such tests to WPT when fixing bugs like this.

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

Received on Tuesday, 15 June 2021 00:17:05 UTC