Bug 134271

Summary: WKContextHistoryClient::didNavigateWithNavigationData is passed incorrect URL when history.pushState is used
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: HistoryAssignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, bunhere, cdumez, commit-queue, gyuyoung.kim, sergio
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch beidson: review+

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>