This test checks that the page visibility event propagation does not crash the browser when frames are added / deleted.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Loaded all frames.
Visibility of main document changed.
Visibility of sub frame 2 changed.
PASS successfullyParsed is true
TEST COMPLETE