Title: [124756] trunk
Revision
124756
Author
commit-qu...@webkit.org
Date
2012-08-06 05:27:03 -0700 (Mon, 06 Aug 2012)

Log Message

[EFL] EFL's LayoutTestController needs removeAllVisitedLinks implementation
https://bugs.webkit.org/show_bug.cgi?id=82724

Patch by Mikhail Pozdnyakov <mikhail.pozdnya...@intel.com> on 2012-08-06
Reviewed by Csaba Osztrogonác.

Tools:

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::removeAllVisitedLinks):

LayoutTests:

* platform/efl/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (124755 => 124756)


--- trunk/LayoutTests/ChangeLog	2012-08-06 12:02:34 UTC (rev 124755)
+++ trunk/LayoutTests/ChangeLog	2012-08-06 12:27:03 UTC (rev 124756)
@@ -1,3 +1,12 @@
+2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        [EFL] EFL's LayoutTestController needs removeAllVisitedLinks implementation
+        https://bugs.webkit.org/show_bug.cgi?id=82724
+
+        Reviewed by Csaba Osztrogonác.
+
+        * platform/efl/Skipped:
+
 2012-08-06  Shinya Kawanaka  <shin...@chromium.org>
 
         AuthorShadowDOM for progress element

Modified: trunk/LayoutTests/platform/efl/Skipped (124755 => 124756)


--- trunk/LayoutTests/platform/efl/Skipped	2012-08-06 12:02:34 UTC (rev 124755)
+++ trunk/LayoutTests/platform/efl/Skipped	2012-08-06 12:27:03 UTC (rev 124756)
@@ -161,9 +161,6 @@
 # EFL's LayoutTestController does not implement originsWithApplicationCache
 http/tests/appcache/origins-with-appcache.html
 
-# EFL's LayoutTestController does not implement removeAllVisitedLinks
-http/tests/globalhistory/history-delegate-basic-visited-links.html
-
 # EFL's LayoutTestController does not implement shadowPseudoId
 media/video-controls-transformed.html
 media/video-controls-visible-audio-only.html

Modified: trunk/Tools/ChangeLog (124755 => 124756)


--- trunk/Tools/ChangeLog	2012-08-06 12:02:34 UTC (rev 124755)
+++ trunk/Tools/ChangeLog	2012-08-06 12:27:03 UTC (rev 124756)
@@ -1,3 +1,13 @@
+2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        [EFL] EFL's LayoutTestController needs removeAllVisitedLinks implementation
+        https://bugs.webkit.org/show_bug.cgi?id=82724
+
+        Reviewed by Csaba Osztrogonác.
+
+        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
+        (LayoutTestController::removeAllVisitedLinks):
+
 2012-08-06  Mario Sanchez Prada  <msanc...@igalia.com>
 
         [WK2][GTK] Implement a new spell checker API for WebKit2GTK+

Modified: trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp (124755 => 124756)


--- trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2012-08-06 12:02:34 UTC (rev 124755)
+++ trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2012-08-06 12:27:03 UTC (rev 124756)
@@ -786,7 +786,11 @@
 
 void LayoutTestController::removeAllVisitedLinks()
 {
-    notImplemented();
+    Ewk_History* history = ewk_view_history_get(browser->mainView());
+    if (!history)
+        return;
+
+    ewk_history_clear(history);
 }
 
 bool LayoutTestController::callShouldCloseOnWebView()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to