Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Failevent and promise ordering for same-document navigation.navigate() intercepted by intercept() with a precommitHandler that redirectsassert_array_equals: lengths differ, expected array ["navigate", "precommitHandler start", "promise microtask", "precommitHandler async step 1a", "precommitHandler async step 1b", "handler start", "committed fulfilled", "handler async step 1", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"] length 11, got ["navigate", "handler start", "committed fulfilled", "promise microtask", "handler async step 1", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"] length 8
    at Recorder.assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/ordering-and-transition/resources/helpers.mjs:122:5)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/ordering-and-transition/navigate-intercept-precommitHandler-redirect.html:47:12)
Asserts run
Pass
assert_equals("string", "string", "Must pass a string for finalExpectedEvent")
    at new Recorder ( /navigation-api/ordering-and-transition/resources/helpers.mjs:22:5)
Fail
assert_array_equals(["navigate", "handler start", "committed fulfilled", "promise microtask", "handler async step 1", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"], ["navigate", "precommitHandler start", "promise microtask", "precommitHandler async step 1a", "precommitHandler async step 1b", "handler start", "committed fulfilled", "handler async step 1", "navigatesuccess", "finished fulfilled", "transition.finished fulfilled"])
    at Recorder.assert ( /navigation-api/ordering-and-transition/resources/helpers.mjs:122:5)