Description

This test validates window.performance.getEntriesByType("navigation") 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.getEntriesByType("navigation") are correct and the frame below ends with a green background.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassNavigation Timing 2 WPT
Asserts run
Pass
assert_equals(21.099999994039536, 21.099999994039536, "connectEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(8.799999997019768, 8.799999997019768, "connectStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(42, 42, "decodedBodySize is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(113.29999999701977, 113.29999999701977, "domComplete is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(112.79999999701977, 112.79999999701977, "domContentLoadedEventEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(112.79999999701977, 112.79999999701977, "domContentLoadedEventStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(112.79999999701977, 112.79999999701977, "domInteractive is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(8.799999997019768, 8.799999997019768, "domainLookupEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(8.799999997019768, 8.799999997019768, "domainLookupStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(113.29999999701977, 113.29999999701977, "duration is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(42, 42, "encodedBodySize is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals("navigation", "navigation", "entryType is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0.8999999910593033, 0.8999999910593033, "fetchStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals("navigation", "navigation", "initiatorType is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(113.29999999701977, 113.29999999701977, "loadEventEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(113.29999999701977, 113.29999999701977, "loadEventStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals("https://www1.wpt.live/navigation-timing/resources/blank_page_yellow.html", "https://www1.wpt.live/navigation-timing/resources/blank_page_yellow.html", "name is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "redirectCount is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "redirectEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "redirectStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(21.19999998807907, 21.19999998807907, "requestStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(107.3999999910593, 107.3999999910593, "responseEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(106.69999998807907, 106.69999998807907, "responseStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(8.799999997019768, 8.799999997019768, "secureConnectionStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(342, 342, "transferSize is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals("navigate", "navigate", "type is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "unloadEventEnd is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "unloadEventStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27
Pass
assert_equals(0, 0, "workerStart is the same after document open.")
    at  /navigation-timing/nav2-test-document-open.html:81:27