1 This test checks that an iframe that moves between pages with different visibility will have the correct visibility value.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS window.document.hidden is false
9 PASS window2.document.hidden is false
10 PASS iframe.contentDocument.hidden is false
11 PASS window.document.hidden is true
12 PASS window2.document.hidden is false
13 PASS iframe.contentDocument.hidden is false
14 Adopted iframe to Window 1
15 PASS window.document.hidden is true
16 PASS window2.document.hidden is false
17 PASS iframe.contentDocument.hidden is true
18 PASS successfullyParsed is true