Description

This test validates window.performance.timing remains constant when a document is replaced using document.open.

This page should be loaded with a yellow frame below. It then replaces the document in that frame with a green document.

The test passes if all of the checks to performance.timing are correct and the frame below ends with a green background.

Summary

Harness status: OK

Found 21 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)
PassconnectEnd is the same after document open.
Asserts run
Pass
assert_equals(1744529580726, 1744529580726, "connectEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassconnectStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580689, 1744529580689, "connectStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomComplete is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "domComplete is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomContentLoadedEventEnd is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "domContentLoadedEventEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomContentLoadedEventStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "domContentLoadedEventStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomInteractive is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "domInteractive is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomLoading is the same after document open.
Asserts run
Pass
assert_equals(1744529580817, 1744529580817, "domLoading is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomainLookupEnd is the same after document open.
Asserts run
Pass
assert_equals(1744529580689, 1744529580689, "domainLookupEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassdomainLookupStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580689, 1744529580689, "domainLookupStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassfetchStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580658, 1744529580658, "fetchStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassloadEventEnd is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "loadEventEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassloadEventStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580821, 1744529580821, "loadEventStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassnavigationStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580658, 1744529580658, "navigationStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassredirectEnd is the same after document open.
Asserts run
Pass
assert_equals(0, 0, "redirectEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassredirectStart is the same after document open.
Asserts run
Pass
assert_equals(0, 0, "redirectStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassrequestStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580726, 1744529580726, "requestStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassresponseEnd is the same after document open.
Asserts run
Pass
assert_equals(1744529580815, 1744529580815, "responseEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassresponseStart is the same after document open.
Asserts run
Pass
assert_equals(1744529580814, 1744529580814, "responseStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassunloadEventEnd is the same after document open.
Asserts run
Pass
assert_equals(0, 0, "unloadEventEnd is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassunloadEventStart is the same after document open.
Asserts run
Pass
assert_equals(0, 0, "unloadEventStart is the same after document open.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)