Fail | Cancel a navigation with a precommitHandler before commit by starting a new navigation | assert_equals: expected "" but got "#ShouldNotCommit" at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/precommit-handler/precommitHandler-new-navigation-before-commit.html:13:5)
at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
at Navigation.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35)
at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/precommit-handler/precommitHandler-new-navigation-before-commit.html:17:39)
at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25) Asserts runFail | assert_equals("#ShouldNotCommit", "")
at Test.<anonymous> ( /navigation-api/precommit-handler/precommitHandler-new-navigation-before-commit.html:13:5) | Pass | assert_equals(object "[object Object]", object "[object Object]", "result object must be from the right realm")
at window.assertReturnValue ( /navigation-api/navigation-methods/return-value/resources/helpers.js:2:3) | Pass | assert_array_equals(["committed", "finished"], ["committed", "finished"])
at window.assertReturnValue ( /navigation-api/navigation-methods/return-value/resources/helpers.js:3:3) | Pass | assert_true(true)
at window.assertReturnValue ( /navigation-api/navigation-methods/return-value/resources/helpers.js:4:3) | Pass | assert_true(true)
at window.assertReturnValue ( /navigation-api/navigation-methods/return-value/resources/helpers.js:5:3) | Pass | assert_not_equals(object "[object Promise]", object "[object Promise]")
at window.assertReturnValue ( /navigation-api/navigation-methods/return-value/resources/helpers.js:6:3) | Pass | assert_equals(undefined, undefined, "committed and finished must reject with the same value")
at window.assertBothRejectDOM ( /navigation-api/navigation-methods/return-value/resources/helpers.js:125:3) | Fail | assert_throws_dom("AbortError", function "function DOMException() { [native code] }", function "() => { throw committedReason; }")
at window.assertBothRejectDOM ( /navigation-api/navigation-methods/return-value/resources/helpers.js:126:3) |
|