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

Fix reloads to not wipe out future session history #1708

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

domenic
Copy link
Member

@domenic domenic commented Aug 24, 2016

Fixes #1578. When performing a reload via location.reload() or a user
interface element, it seems more correct to go down the "entry update"
path, instead of going down the normal path and turning on "replacement
enabled". The normal path wipes out all session history entries after
the current one, which is not what browsers do when reloading.


I removed the non-normative note entirely since it seems just wrong in general now.

/cc @toyoshim @smaug---- @annevk

Fixes #1578. When performing a reload via location.reload() or a user
interface element, it seems more correct to go down the "entry update"
path, instead of going down the normal path and turning on "replacement
enabled". The normal path wipes out all session history entries after
the current one, which is not what browsers do when reloading.
@annevk
Copy link
Member

annevk commented Aug 25, 2016

LGTM

@toyoshim
Copy link

lgtm, but seems not to be merged yet.
Does this need some additional steps to be merged?

@domenic
Copy link
Member Author

domenic commented Aug 25, 2016

Yes, it needed a LGTM from an editor, and then I merge it into master :). I'll do that now. Thanks for reporting!

@domenic domenic merged commit 6c777d8 into master Aug 25, 2016
@domenic domenic deleted the fix-reload-session-history branch August 25, 2016 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants