This test checks that an iframe that moves between pages with different visibility will have the correct visibility value.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Window 1 Loaded
Window 2 Loaded
PASS window.document.webkitHidden is false
PASS window2.document.webkitHidden is false
PASS iframe.contentDocument.webkitHidden is false
PASS window.document.webkitHidden is true
PASS window2.document.webkitHidden is false
PASS iframe.contentDocument.webkitHidden is false
Adopted iframe to Window 1
PASS window.document.webkitHidden is true
PASS window2.document.webkitHidden is false
PASS iframe.contentDocument.webkitHidden is true
PASS successfullyParsed is true

TEST COMPLETE

