Title: [150056] trunk/Source/WebKit/mac
Revision
150056
Author
m...@apple.com
Date
2013-05-13 23:52:50 -0700 (Mon, 13 May 2013)

Log Message

Make -[WebNavigationData url] the destination of the navigation
https://bugs.webkit.org/show_bug.cgi?id=114904

Reviewed by Dave Kilzer.

* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with the
current URL, not the original request URL.

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (150055 => 150056)


--- trunk/Source/WebKit/mac/ChangeLog	2013-05-14 05:42:07 UTC (rev 150055)
+++ trunk/Source/WebKit/mac/ChangeLog	2013-05-14 06:52:50 UTC (rev 150056)
@@ -1,3 +1,14 @@
+2013-05-13  Dan Bernstein  <m...@apple.com>
+
+        Make -[WebNavigationData url] the destination of the navigation
+        https://bugs.webkit.org/show_bug.cgi?id=114904
+
+        Reviewed by Dave Kilzer.
+
+        * WebCoreSupport/WebFrameLoaderClient.mm:
+        (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with the
+        current URL, not the original request URL.
+
 2013-05-13  Anders Carlsson  <ander...@apple.com>
 
         Remove ChromeClient::willPopupMenu

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (150055 => 150056)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm	2013-05-14 05:42:07 UTC (rev 150055)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm	2013-05-14 06:52:50 UTC (rev 150056)
@@ -881,7 +881,7 @@
     if ([view historyDelegate]) {
         WebHistoryDelegateImplementationCache* implementations = WebViewGetHistoryDelegateImplementations(view);
         if (implementations->navigatedFunc) {
-            WebNavigationData *data = "" alloc] initWithURLString:loader->urlForHistory()
+            WebNavigationData *data = "" alloc] initWithURLString:loader->url()
                                                                              title:nilOrNSString(loader->title().string())
                                                                    originalRequest:loader->originalRequestCopy().nsURLRequest(UpdateHTTPBody)
                                                                           response:loader->response().nsURLResponse()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to