Description

This test validates that nav timing 2 instance can be accessed by three different accessors once available: window.performance.getEntries()/getEntriesByType("navigation")/getEntriesByName("document")

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
FailPerformance navigation timing entries are accessible through three different accessors.assert_equals: Expected there is only one navigation timing instance. expected 1 but got 0
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-timing/nav2-test-instance-accessors.html:60:21)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at PerformanceObserver.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35)
Asserts run
Pass
assert_equals(1, 1, "Expected there is only one navigation timing instance.")
    at Test.<anonymous> ( /navigation-timing/nav2-test-instance-accessors.html:59:21)
Fail
assert_equals(0, 1, "Expected there is only one navigation timing instance.")
    at Test.<anonymous> ( /navigation-timing/nav2-test-instance-accessors.html:60:21)