Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Allow navigation with replacement enabled in additional, optional cases #3524

Closed
natechapin opened this issue Mar 2, 2018 · 2 comments
Labels
addition/proposal New features or enhancements topic: navigation

Comments

@natechapin
Copy link

natechapin commented Mar 2, 2018

Chromium is experimenting with ways to reduce the frequency of nuisance history entries . The rules we're trending toward in our experiment are to override the default behavior and navigate with replacement enabled if (1) the source browsing context has never experienced user activation and (2) the source browsing context's active document has been the active document for less than a threshold time (5 seconds).

I propose adding a step to the navigate algorithm that optionally allows the navigation to be performed with replacement enabled, regardless of the behavior given when the navigate algorithm was invoked.

@annevk annevk added addition/proposal New features or enhancements topic: navigation labels Mar 3, 2018
@chrishtr
Copy link
Contributor

I'm wondering: what are the legitimate use cases of pushing a history entry on load of a URL?
Is it to handle client-side "redirects"? Or is there another one?

@natechapin
Copy link
Author

The chromium intent thread provided an example of a way this behavior would break legitimate existing use cases, so I'm not planning on pursuing this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements topic: navigation
Development

No branches or pull requests

3 participants