Open jrandolf-2 opened 7 months ago
Please note that for history navigation operations such as pushState()
, there is an issue filed at https://github.com/w3c/webdriver-bidi/issues/502. And as outlined there, the HTML specification is not going through the navigation steps at all for session history.
The Browser Testing and Tools Working Group just discussed Emit browsingContext.navigationStarted before any navigation events
.
Currently, we emit
browsingContext.navigationStarted
after history navigation in https://html.spec.whatwg.org/#beginning-navigation. It may be unexpected for clients particular because history navigation is a form of navigation that appears suddenly, without a prior event indicating navigation has started.The following is a proposed spec change for the HTML spec that triggers
browsingContext.navigationStarted
before any navigation events occurs: https://github.com/whatwg/html/pull/10132Cc: @whimboo @jgraham @OrKoN @Lightning00Blade