Bug 83369

Summary: Window location is not updated correctly in Chrome Frame when '#' is present in the URL
Product: WebKit Reporter: Yuriy Brayko <yuriy.brayko>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: jjjaquanrice
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
URL: http://quirksmode.org/frametest.html

Description Yuriy Brayko 2012-04-06 07:52:06 PDT
Steps to reproduce:

1. Open any page in Chrome Frame under IE9 e.g. http://quirksmode.org/frametest.html
2. Add #123 to URL (http://quirksmode.org/frametest.html#123) and press Enter. 
3. Note that the first time window.location will be updated correctly:
...
hash: "#123"
href: "http://quirksmode.org/frametest.html#123"
...

4. Now change the hash e.g. to #1234 (http://quirksmode.org/frametest.html#1234) and press Enter
5. Window location object is not updated.

Result: 
window.location.hash is still "123" and window.location.href is "http://quirksmode.org/frametest.html#123"

Expected:
window.location.hash should be "1234" and window.location.href should be "http://quirksmode.org/frametest.html#1234"

Window location object will be updated only first time when user changes hash part of URL or pastes links with hashes to the same page more than once.