OLD | NEW |
(Empty) | |
| 1 Tests that gamepad events are not fired when page is hidden but kept as pending
and fired when the page becomes visible again. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS Received a gamepadconnected event |
| 7 PASS event.gamepad.index is 0 |
| 8 PASS document.visibilityState is "hidden" |
| 9 PASS gamepaddisconnected dispatched after visibility change |
| 10 PASS document.visibilityState is "visible" |
| 11 PASS event.gamepad.index is 0 |
| 12 PASS gamepadconnected dispatched after page become visible |
| 13 PASS document.visibilityState is "visible" |
| 14 PASS event.gamepad.index is 1 |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |