You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain navigations like cross-document navigations, we have no ability to detect that they are occurring unless they are intercepted. It would be nice to additionally expose them as part of navigation.transition.
The workaround is to set a boolean that the cross-document navigation is occurring, but this requires also unsetting the bit on pageshow because we have no way to observe when the cross-document navigation has finished otherwise. Instead, checking navigation.transition would allow us to only reject traversals occurring a cross-document navigation
The text was updated successfully, but these errors were encountered:
For certain navigations like cross-document navigations, we have no ability to detect that they are occurring unless they are intercepted. It would be nice to additionally expose them as part of
navigation.transition
.The workaround is to set a boolean that the cross-document navigation is occurring, but this requires also unsetting the bit on
pageshow
because we have no way to observe when the cross-document navigation has finished otherwise. Instead, checkingnavigation.transition
would allow us to only reject traversals occurring a cross-document navigationThe text was updated successfully, but these errors were encountered: