Bug 34556 - location.href (and related url accessors) and document.URL don't refer to the same thing.
Summary: location.href (and related url accessors) and document.URL don't refer to the...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 19:44 PST by Brady Eidson
Modified: 2011-08-17 15:29 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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