1 This test checks that Page Visibility state values are correct and the event changes are fired correctly.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS document.visibilityState is "visible"
7 PASS document.hidden is false
8 PASS document.visibilityState is "hidden"
9 PASS document.hidden is true
10 PASS document.visibilityState is "hidden"
11 PASS document.hidden is true
12 PASS document.visibilityState is "prerender"
13 PASS document.hidden is true
14 PASS document.visibilityState is "visible"
15 PASS document.hidden is false
16 PASS successfullyParsed is true