Title: [94033] trunk/Source/WebKit2
Revision
94033
Author
[email protected]
Date
2011-08-29 16:47:23 -0700 (Mon, 29 Aug 2011)

Log Message

[Qt] QTouchWebView url property test missing
https://bugs.webkit.org/show_bug.cgi?id=67159

Patch by Gopal Raghavan <[email protected]> on 2011-08-29
Reviewed by Noam Rosenthal.

Added qml test case to check url property of QTouchWebView. Since url is a readonly property, we make sure that it's set after load() is called.

* UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (94032 => 94033)


--- trunk/Source/WebKit2/ChangeLog	2011-08-29 23:42:22 UTC (rev 94032)
+++ trunk/Source/WebKit2/ChangeLog	2011-08-29 23:47:23 UTC (rev 94033)
@@ -1,5 +1,17 @@
 2011-08-29  Gopal Raghavan  <[email protected]>
 
+
+        [Qt] QTouchWebView url property test missing
+        https://bugs.webkit.org/show_bug.cgi?id=67159
+
+        Reviewed by Noam Rosenthal.
+
+        Added qml test case to check url property of QTouchWebView. Since url is a readonly property, we make sure that it's set after load() is called.
+
+        * UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml:
+
+2011-08-29  Gopal Raghavan  <[email protected]>
+
         [Qt] QDesktopWebView url property test missing
         https://bugs.webkit.org/show_bug.cgi?id=67155
 

Modified: trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml (94032 => 94033)


--- trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml	2011-08-29 23:42:22 UTC (rev 94032)
+++ trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml	2011-08-29 23:47:23 UTC (rev 94033)
@@ -20,5 +20,14 @@
             spy.wait()
             compare(webView.page.title, "Test page 1")
         }
+
+        function test_url() {
+            compare(spy.count, 1)
+            var testUrl = Qt.resolvedUrl("../common/test1.html")
+            webView.page.load(testUrl)
+            spy.wait()
+            compare(webView.page.url, testUrl)
+        }
+
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to