[Webkit-unassigned] [Bug 83369] New: Window location is not updated correctly in Chrome Frame when '#' is present in the URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 6 07:52:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83369

           Summary: Window location is not updated correctly in Chrome
                    Frame when '#' is present in the URL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://quirksmode.org/frametest.html
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: History
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yuriy.brayko at gmail.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list