Title: [100996] trunk/Source/WebKit2
Revision
100996
Author
commit-qu...@webkit.org
Date
2011-11-22 06:14:17 -0800 (Tue, 22 Nov 2011)

Log Message

[Qt][WK2] Fix and unskip loadHtml api test
https://bugs.webkit.org/show_bug.cgi?id=72916

Patch by Jesus Sanchez-Palencia <jesus.palen...@openbossa.org> on 2011-11-22
Reviewed by Andreas Kling.

Now that linkHovered events are working again we can fix and unskip this
loadHtml test.

* UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (100995 => 100996)


--- trunk/Source/WebKit2/ChangeLog	2011-11-22 14:11:46 UTC (rev 100995)
+++ trunk/Source/WebKit2/ChangeLog	2011-11-22 14:14:17 UTC (rev 100996)
@@ -1,3 +1,15 @@
+2011-11-22  Jesus Sanchez-Palencia  <jesus.palen...@openbossa.org>
+
+        [Qt][WK2] Fix and unskip loadHtml api test
+        https://bugs.webkit.org/show_bug.cgi?id=72916
+
+        Reviewed by Andreas Kling.
+
+        Now that linkHovered events are working again we can fix and unskip this
+        loadHtml test.
+
+        * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml:
+
 2011-11-22  Pavel Feldman  <pfeld...@google.com>
 
         Web Inspector: remove Inspector::bringToFront from the protocol.

Modified: trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml (100995 => 100996)


--- trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml	2011-11-22 14:11:46 UTC (rev 100995)
+++ trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml	2011-11-22 14:14:17 UTC (rev 100996)
@@ -7,6 +7,7 @@
     id: webView
     width: 200
     height: 400
+    focus: true
 
     property string lastUrl
 
@@ -29,6 +30,15 @@
     TestCase {
         name: "DesktopWebViewLoadHtml"
 
+        // Delayed windowShown to workaround problems with Qt5 in debug mode.
+        when: false
+        Timer {
+            running: parent.windowShown
+            repeat: false
+            interval: 1
+            onTriggered: parent.when = true
+        }
+
         function init() {
             webView.lastUrl = ""
             linkHoveredSpy.clear()
@@ -36,7 +46,6 @@
         }
 
         function test_baseUrlAfterLoadHtml() {
-            skip("Link Hovered is currently not working")
             loadSpy.clear()
             linkHoveredSpy.clear()
             compare(linkHoveredSpy.count, 0)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to