Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Passscroll: scroll() should throw after preventDefault
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => e.scroll()")
    at Test.<anonymous> ( /navigation-api/scroll-behavior/scroll-after-preventDefault.html:17: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(object "AbortError: Navigation was aborted", object "AbortError: Navigation was aborted", "committed and finished must reject with the same value")
    at window.assertBothRejectDOM ( /navigation-api/navigation-methods/return-value/resources/helpers.js:125:3)
Pass
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)