WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
49669
Inconsistent history.replaceState and window.location.hash behaviour
https://bugs.webkit.org/show_bug.cgi?id=49669
Summary
Inconsistent history.replaceState and window.location.hash behaviour
Dave
Reported
2010-11-17 09:22:08 PST
When replacing the history state with a hash, window.location.hash does not contain the new hash in Safari and Webkit. Google Chrome works as I would expect. Here is the log using the Developer Tools javascript console to input the commands: Safari 5.0.2(7533.18.5): history.replaceState(null,null,'#beans') undefined history.replaceState(null,null,'#poy') undefined window.location.hash "#beans" WebKit
r71499
: history.replaceState(null,null,'#beans') undefined history.replaceState(null,null,'#poy') undefined window.location.hash "" Chrome 7.0.517.44: history.replaceState(null,null,'#beans') undefined history.replaceState(null,null,'#poy') undefined window.location.hash "#poy"
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug