Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
Passcan't bypass required members by omitting the dictionary entirely
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     new NavigateEvent("navigate");   }")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:6:3)
Passdestination is required
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     new NavigateEvent("navigate", {       navigationType: "push",       canIntercept: false,       userInitiated: false,       hashChange: false,       signal: (new AbortController()).signal,       formData: null,       downloadRequest: null,       info: null,       sourceElement: null     });   }")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:12:3)
Passsignal is required
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {       new NavigateEvent("navigate", {         navigationType: "push",         destination: e.destination,         canIntercept: false,         userInitiated: false,         hashChange: false,         formData: null,         downloadRequest: null,         info: null,         sourceElement: null       });     }")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:30:5)
Failall properties are reflected backassert_equals: expected (object) Element node <a></a> but got (undefined) undefined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/navigate-event/event-constructor.html:81: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:2717:32)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/navigate-event/event-constructor.html:83:11)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
Asserts run
Pass
assert_equals("replace", "replace")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:71:5)
Pass
assert_equals(object "[object NavigationDestination]", object "[object NavigationDestination]")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:72:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:73:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:74:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:75:5)
Pass
assert_equals(object "[object AbortSignal]", object "[object AbortSignal]")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:76:5)
Pass
assert_equals(object "[object FormData]", object "[object FormData]")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:77:5)
Pass
assert_equals("abc", "abc")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:78:5)
Pass
assert_equals(object "[object Object]", object "[object Object]")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:79:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:80:5)
Fail
assert_equals(undefined, Element node <a></a>)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:81:5)
Faildefaults are as expectedassert_equals: expected (object) null but got (undefined) undefined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/navigate-event/event-constructor.html:101: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:2717:32)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/navigation-api/navigate-event/event-constructor.html:103:11)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
Asserts run
Pass
assert_equals("push", "push")
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:94:5)
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:95:5)
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:96:5)
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:97:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:98:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:99:5)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:100:5)
Fail
assert_equals(undefined, null)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:101:5)
PasshasUAVisualTransition is default false
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /navigation-api/navigate-event/event-constructor.html:113:5)