blob: c92665b2dd095ce5059c6c5766166275abfa8bb4 [file] [log] [blame]
This test checks that Page Visibility state values are correct and the event changes are fired correctly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.webkitVisibilityState is "visible"
PASS document.webkitHidden is false
PASS document.webkitVisibilityState is "hidden"
PASS document.webkitHidden is true
PASS document.webkitVisibilityState is "hidden"
PASS document.webkitHidden is true
PASS document.webkitVisibilityState is "prerender"
PASS document.webkitHidden is true
PASS document.webkitVisibilityState is "visible"
PASS document.webkitHidden is false
PASS successfullyParsed is true
TEST COMPLETE