Description

This test validates the unload event times are 0 when there is no previous document.

Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
Passwindow.performance is defined
Asserts run
Pass
assert_not_equals(object "[object Performance]", undefined, "window.performance is defined")
    at Test.<anonymous> ( /navigation-timing/resources/webperftestharness.js:32:31)
Passwindow.performance.navigation is defined
Asserts run
Pass
assert_not_equals(object "[object PerformanceNavigation]", undefined, "window.performance.navigation is defined")
    at Test.<anonymous> ( /navigation-timing/resources/webperftestharness.js:37:30)
Passtiming.navigation.type is TYPE_NAVIGATE
Asserts run
Pass
assert_true(true, "timing.navigation.type is TYPE_NAVIGATE")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
Passtiming.unloadEventStart == 0 on navigation with no previous document
Asserts run
Pass
assert_equals(0, 0, "timing.unloadEventStart == 0 on navigation with no previous document")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
Passtiming.unloadEventEnd == 0 navigation with no previous document
Asserts run
Pass
assert_equals(0, 0, "timing.unloadEventEnd == 0 navigation with no previous document")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)