Pass | can't bypass required members by omitting the dictionary entirely | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new NavigationCurrentEntryChangeEvent("currententrychange"); }")
at Test.<anonymous> ( /navigation-api/currententrychange-event/constructor.html:6:3) |
|
Pass | from is required | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { new NavigationCurrentEntryChangeEvent("currententrychange", { navigationType: "push" }); }")
at Test.<anonymous> ( /navigation-api/currententrychange-event/constructor.html:12:3) |
|
Pass | all properties are reflected back | Asserts runPass | assert_equals("replace", "replace")
at Test.<anonymous> ( /navigation-api/currententrychange-event/constructor.html:24:3) | Pass | assert_equals(object "[object NavigationHistoryEntry]", object "[object NavigationHistoryEntry]")
at Test.<anonymous> ( /navigation-api/currententrychange-event/constructor.html:25:3) |
|
Pass | defaults are as expected | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /navigation-api/currententrychange-event/constructor.html:30:3) |
|