[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

eric at webkit.org eric at webkit.org
Thu Oct 29 20:50:14 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 40cfb550ab0a59db84d1993a9ed8032e487a1cc7
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 22 21:32:58 2009 +0000

    2009-10-22  Shu Chang  <Chang.Shu at nokia.com>
    
            Reviewed by Eric Seidel.
    
            [Qt] Added expected result for clicked-link-is-visited.html.
            Removed test case from qt/Skipped as it works now.
    
            * platform/qt/Skipped:
            * platform/qt/fast/history: Added.
            * platform/qt/fast/history/clicked-link-is-visited-expected.txt: Added.
    2009-10-22  Shu Chang  <Chang.Shu at nokia.com>
    
            Reviewed by Eric Seidel.
    
            [Qt] Enable track visited links in QWebPage
            https://bugs.webkit.org/show_bug.cgi?id=30574
    
            Test: fast/history/clicked-link-is-visited.html
    
            * Api/qwebpage.cpp:
            (QWebPagePrivate::QWebPagePrivate):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index f6a62eb..72ca523 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2009-10-22  Shu Chang  <Chang.Shu at nokia.com>
+
+        Reviewed by Eric Seidel.
+
+        [Qt] Added expected result for clicked-link-is-visited.html.
+        Removed test case from qt/Skipped as it works now.
+
+        * platform/qt/Skipped:
+        * platform/qt/fast/history: Added.
+        * platform/qt/fast/history/clicked-link-is-visited-expected.txt: Added.
+
 2009-10-22  Xan Lopez  <xlopez at igalia.com>
 
         Skip failing tests that seems to be somewhat tied to the Mac
diff --git a/LayoutTests/platform/qt/Skipped b/LayoutTests/platform/qt/Skipped
index 4a1561b..6778cfd 100644
--- a/LayoutTests/platform/qt/Skipped
+++ b/LayoutTests/platform/qt/Skipped
@@ -393,7 +393,6 @@ fast/forms/textarea-scroll-height.html
 fast/forms/textarea-scrollbar.html
 fast/forms/textarea-scrolled-type.html
 fast/frames/iframe-window-focus.html
-fast/history/clicked-link-is-visited.html
 fast/history/go-back-to-changed-name.html
 fast/html/keygen.html
 fast/inline/dirtyLinesForInline.html
diff --git a/LayoutTests/platform/qt/fast/history/clicked-link-is-visited-expected.txt b/LayoutTests/platform/qt/fast/history/clicked-link-is-visited-expected.txt
new file mode 100644
index 0000000..b00b350
--- /dev/null
+++ b/LayoutTests/platform/qt/fast/history/clicked-link-is-visited-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x21
+        RenderInline {A} at (0,0) size 539x21 [color=#0000EE]
+          RenderText {#text} at (0,0) size 539x21
+            text run at (0,0) width 539: "Bug 9150 DumpRenderTree should be able to keep URL history during runs"
+      RenderBlock {DIV} at (0,21) size 784x21
+        RenderText {#text} at (0,0) size 136x21
+          text run at (0,0) width 136: "The tests passes if "
+        RenderInline {A} at (0,0) size 54x21 [color=#551A8B]
+          RenderText {#text} at (136,0) size 54x21
+            text run at (136,0) width 54: "this link"
+        RenderText {#text} at (190,0) size 207x21
+          text run at (190,0) width 207: " is rendered in a visited color."
diff --git a/WebKit/qt/Api/qwebpage.cpp b/WebKit/qt/Api/qwebpage.cpp
index 31d193e..c066e9b 100644
--- a/WebKit/qt/Api/qwebpage.cpp
+++ b/WebKit/qt/Api/qwebpage.cpp
@@ -77,6 +77,7 @@
 #include "LocalizedStrings.h"
 #include "Cache.h"
 #include "runtime/InitializeThreading.h"
+#include "PageGroup.h"
 
 #include <QApplication>
 #include <QBasicTimer>
@@ -302,6 +303,8 @@ QWebPagePrivate::QWebPagePrivate(QWebPage *qq)
 
     history.d = new QWebHistoryPrivate(page->backForwardList());
     memset(actions, 0, sizeof(actions));
+
+    PageGroup::setShouldTrackVisitedLinks(true);
 }
 
 QWebPagePrivate::~QWebPagePrivate()
diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog
index 6a79119..4805443 100644
--- a/WebKit/qt/ChangeLog
+++ b/WebKit/qt/ChangeLog
@@ -1,3 +1,15 @@
+2009-10-22  Shu Chang  <Chang.Shu at nokia.com>
+
+        Reviewed by Eric Seidel.
+
+        [Qt] Enable track visited links in QWebPage
+        https://bugs.webkit.org/show_bug.cgi?id=30574
+
+        Test: fast/history/clicked-link-is-visited.html
+
+        * Api/qwebpage.cpp:
+        (QWebPagePrivate::QWebPagePrivate):
+
 2009-10-22  Girish Ramakrishnan  <girish at forwardbias.in>
 
         Reviewed by Eric Seidel.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list