-
Notifications
You must be signed in to change notification settings - Fork 85
-
Notifications
You must be signed in to change notification settings - Fork 85
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
window.location.replace not working on chrome ( 34 ) #63
Comments
if you need to go back and forward you should use |
ohhh.. now I see what you're talking about.. it's probably a chrome bug. this error does reproduce on the unit tests: http://millermedeiros.github.io/Hasher/test/unit.html |
yes, on my chrome tests do not pass and the page ( randomly ? ) reloads. |
It was reported to chrome: https://code.google.com/p/chromium/issues/detail?id=330943 Let's keep this issue open (so other users know what is going on) and star the chrome bug so that it gets more attention. Thanks for reporting it. |
Yes, this issue was mainly created to inform you and hasher's users of this. Thank you |
this should be fixed now: https://code.google.com/p/chromium/issues/detail?id=363724 |
Hey,
I use Hasher and for about two weeks my back button does not work anymore one my application. I have investigated and found that window.location.replace causes history to be completely lost. After using location.replace, when using back button, the page completely reload.
On any page, if you do this:
But if you do this:
Am I wrong ? Can somebody reproduce the bug ?
I'm running Chrome 34.0.1847.116 on Ubuntu 13.04
Everything is fine on Safari and Firefox.
As a solution, I have replaced the window.location.replace by window.history.replaceState but it works for modern browsers only.
The text was updated successfully, but these errors were encountered: