Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: LayoutTests/gamepad/page-visibility-expected.txt

Issue 346273008: Gamepad: make gamepad events play well with page visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gamepad-vis
Patch Set: PersistentHeapDequeWillBeHeapDeque Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/gamepad/page-visibility.html ('k') | Source/modules/gamepad/NavigatorGamepad.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 eventCounter < expectations.length is true
10 PASS event.gamepad.index is 0
11 PASS expected.connected is false
12 PASS event.gamepad.connected is false
13 PASS eventCounter < expectations.length is true
14 PASS event.gamepad.index is 1
15 PASS expected.connected is false
16 PASS event.gamepad.connected is false
17 PASS event.gamepad.id is "old"
18 PASS eventCounter < expectations.length is true
19 PASS event.gamepad.index is 1
20 PASS expected.connected is true
21 PASS event.gamepad.connected is true
22 PASS event.gamepad.id is "new"
23 PASS eventCounter < expectations.length is true
24 PASS event.gamepad.index is 2
25 PASS expected.connected is true
26 PASS event.gamepad.connected is true
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30
OLDNEW
« no previous file with comments | « LayoutTests/gamepad/page-visibility.html ('k') | Source/modules/gamepad/NavigatorGamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698