Fail browsingContext.navigate
if navigation is aborted
#799
Labels
module-browsingContext
Browsing Context module
needs-discussion
Issues to be discussed by the working group
Currently, the
browsingContext.navigate
command's await a navigation succeeds in case of "navigation aborted".Repro: https://github.com/web-platform-tests/wpt/pull/48751/files
Currently, there is a WPT test
test_with_new_navigation_inside_page
which is not aligned with the spec.Spec:
browsingContext.navigate
browsingContext.navigationAborted
event).Having that, either WPT test or spec should be changed. We propose the latest: change the spec, so that if the navigation is aborted, the command will fail:
The text was updated successfully, but these errors were encountered: