| 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.visibilityState is "visible" |
| PASS document.hidden is false |
| PASS internals.scriptedAnimationsAreSuspended is false |
| PASS document.visibilityState is "hidden" |
| PASS document.hidden is true |
| PASS internals.scriptedAnimationsAreSuspended is true |
| PASS document.visibilityState is "hidden" |
| PASS document.hidden is true |
| PASS internals.scriptedAnimationsAreSuspended is true |
| PASS document.visibilityState is "visible" |
| PASS document.hidden is false |
| PASS internals.scriptedAnimationsAreSuspended is false |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |