Bug 34556

Summary: location.href (and related url accessors) and document.URL don't refer to the same thing.
Product: WebKit Reporter: Brady Eidson <beidson>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: abarth, ap, arv
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Brady Eidson 2010-02-03 19:44:02 PST
location.href (and related url accessors) access the url at FrameLoader::url().

Sadly and inexplicably, this url is not always in sync with Document::URL() and probably should be.

If https://bugs.webkit.org/show_bug.cgi?id=34555 is resolved, this bug will probably just go away.  But I'm filing it to make sure the issue is not forgotten.  I'll add a test case showing how it manifests in the real world in the morning, as I'm in a hurry right now  :)
Comment 1 Brady Eidson 2010-02-04 09:48:15 PST
This is closely related to https://bugs.webkit.org/show_bug.cgi?id=34555