Bug 134271 - WKContextHistoryClient::didNavigateWithNavigationData is passed incorrect URL when history.pushState is used
Summary: WKContextHistoryClient::didNavigateWithNavigationData is passed incorrect URL...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Rowe (bdash)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-06-24 14:56 PDT by Mark Rowe (bdash)
Modified: 2014-06-24 16:36 PDT (History)
6 users (show)

See Also:


Attachments
Patch (8.77 KB, patch)
2014-06-24 15:08 PDT, Mark Rowe (bdash)
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2014-06-24 14:56:41 PDT
When history.pushState is called, WKContextHistoryClient::didNavigateWithNavigationData is passed the URL of the current document rather than the URL of the document after the pushState. This isn't correct.

<rdar://problem/16270167>
Comment 1 Mark Rowe (bdash) 2014-06-24 15:08:01 PDT
Created attachment 233748 [details]
Patch
Comment 2 Mark Rowe (bdash) 2014-06-24 16:36:04 PDT
Fixed in r170404.
<http://trac.webkit.org/r170404>