Description

This test validates that document.hidden == false and document.visibilityState == "visible" for windowless subdocuments.

Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
Passdocument.hidden is defined and not null.
Asserts run
Pass
assert_true(true, "document.hidden is defined and not null.")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:39:13)
Passdocument.visibilityState is defined and not null.
Asserts run
Pass
assert_true(true, "document.visibilityState is defined and not null.")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:45:13)
Passwindowless subdocument generated for test has a null default view
Asserts run
Pass
assert_true(true, "windowless subdocument generated for test has a null default view")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:76:26)
Passdocument.hidden is definedwindowless subdocument.
Asserts run
Pass
assert_not_equals(false, undefined, "document.hidden is definedwindowless subdocument.")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:66:24)
Passdocument.visibilityState is definedwindowless subdocument.
Asserts run
Pass
assert_not_equals("visible", undefined, "document.visibilityState is definedwindowless subdocument.")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:67:24)
Passhidden == true for windowless subdocuments with a null default view
Asserts run
Pass
assert_true(true, "hidden == true for windowless subdocuments with a null default view")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:76:26)
PassvisibilityState == hidden for windowless subdocuments with a null default view
Asserts run
Pass
assert_equals("hidden", "hidden", "visibilityState == hidden for windowless subdocuments with a null default view")
    at Test.<anonymous> ( /page-visibility/resources/pagevistestharness.js:81:26)