WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
26534
window.location.hash doesn't update until change tab
https://bugs.webkit.org/show_bug.cgi?id=26534
Summary
window.location.hash doesn't update until change tab
Robert Dougan
Reported
2009-06-19 02:49:28 PDT
This occurs in the latest Nightly and also Latest release of Safari. You can view the error here:
http://extjs.com/deploy/dev/examples/history/history.html
Or simple open web inspector and type: window.location.hash = "#hello" It will not appear straight away, you must open a new tab/switch to an existing tab then activate the previous tab again, then it appears.
Attachments
Testcase for the bug
(631 bytes, text/html)
2009-07-01 02:13 PDT
,
Robert Dougan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-06-19 13:59:16 PDT
***
Bug 26535
has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 2
2009-06-28 16:22:30 PDT
Given the size of the JavaScript behind that page, it's hard to see where the problem is. We could do with a reduced test case that contained only the code relevant to demonstrating the problem.
Robert Dougan
Comment 3
2009-07-01 02:13:04 PDT
Created
attachment 32121
[details]
Testcase for the bug
Robert Dougan
Comment 4
2009-07-07 09:17:18 PDT
I don't get it, this is a critical bug- LOADS of modern/web 2.0 websites use the hash for history management. Would this not need to be fixed ASAP?
Jack Godwin
Comment 5
2009-11-24 11:26:34 PST
Is there any known workaround for this bug?
Alexey Proskuryakov
Comment 6
2009-11-24 13:20:50 PST
I cannot reproduce this with Safari 4.0.4 on Mac OS X 10.5.8. I open the attached test case, click "Add hash", and "#hello" is immediately appended. I also tried doing 'window.location.hash = "#hello"' in Web Inspector - that works, too. Do you have any "Safari enhancers" installed? It's possible that this is not a WebKit or Safari bug at all.
Mihai Parparita
Comment 7
2010-10-08 14:08:37 PDT
I'm also not able to reproduce this (either with the attached testcase or with
http://extjs.com/deploy/dev/examples/history/history.html
). Please re-open if you observe this happening with either Safari 5.0 or a WebKit nightly.
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