Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
FailprecommitHandler for a reload navigation, reject before commitassert_unreached: committed must not fulfill Reached unreachable code
    at async Promise.all (index 0)
    at async window.assertBothRejectExactly (https://not-wpt.live/navigation-api/navigation-methods/return-value/resources/helpers.js:94:3)
    at async window.testDeferredCommit (https://not-wpt.live/navigation-api/precommit-handler/resources/precommitHandler-helpers.js:70:5)
Asserts run
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)
FailprecommitHandler for a reload navigation, reject after commitassert_equals: popstate fired after handler async step expected true but got false
    at Test.rejectAfterCommit (https://not-wpt.live/navigation-api/precommit-handler/resources/precommitHandler-helpers.js:20:7)
Asserts run
Pass
assert_equals("", "", "hash after commit")
    at Test.rejectAfterCommit ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:17:7)
Pass
assert_equals(false, false, "popstate before handler starts")
    at Test.rejectAfterCommit ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:18:7)
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.assertBothRejectExactly ( /navigation-api/navigation-methods/return-value/resources/helpers.js:105:3)
Fail
assert_equals(object "Error: boo!", undefined)
    at window.assertBothRejectExactly ( /navigation-api/navigation-methods/return-value/resources/helpers.js:106:3)
Fail
assert_equals(false, true, "popstate fired after handler async step")
    at Test.rejectAfterCommit ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:20:7)
FailprecommitHandler for a reload navigation, successassert_equals: popstate fired after handler async step expected true but got false
    at Test.success (https://not-wpt.live/navigation-api/precommit-handler/resources/precommitHandler-helpers.js:27:7)
Asserts run
Pass
assert_equals("", "", "hash after commit")
    at Test.success ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:24:7)
Pass
assert_equals(false, false, "popstate before handler starts")
    at Test.success ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:25:7)
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)
Fail
assert_equals(false, true, "popstate fired after handler async step")
    at Test.success ( /navigation-api/precommit-handler/resources/precommitHandler-helpers.js:27:7)