1 This test checks that Page Visibility state events are propagated to child frames.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS document.visibilityState is "visible"
8 PASS document.hidden is false
10 PASS childFrame.contentDocument.visibilityState is "visible"
11 PASS childFrame.contentDocument.hidden is false
13 PASS document.visibilityState is "hidden"
14 PASS document.hidden is true
16 PASS childFrame.contentDocument.visibilityState is "hidden"
17 PASS childFrame.contentDocument.hidden is true
19 PASS document.visibilityState is "visible"
20 PASS document.hidden is false
22 PASS childFrame.contentDocument.visibilityState is "visible"
23 PASS childFrame.contentDocument.hidden is false
24 PASS successfullyParsed is true