<rdar://problem/9251515> and https://bugs.webkit.org/show_bug.cgi?id=58072
[WebKit-https.git] / Source / WebCore / ChangeLog
index b530c49a6063adc7e187c114faf1cfa64c05ae12..51d7485ab94c78dc3c06f40c38db4230511bce61 100644 (file)
@@ -1,3 +1,16 @@
+2011-04-11  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Maciej Stachowiak.
+
+        <rdar://problem/9251515> and https://bugs.webkit.org/show_bug.cgi?id=58072
+        URLs accessed as a result of pushState/replaceState should count as "visited" and be in the global history
+
+        Test: fast/loader/stateobjects/state-url-sets-links-visited.html
+
+        * loader/HistoryController.cpp:
+        (WebCore::HistoryController::pushState): Notify the history client and add the visited link.
+        (WebCore::HistoryController::replaceState): Ditto.
+
 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
 
         Reviewed by Eric Carlson.