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

Log Message

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

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

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

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

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (94026 => 94027)


--- trunk/Source/WebKit2/ChangeLog	2011-08-29 22:54:06 UTC (rev 94026)
+++ trunk/Source/WebKit2/ChangeLog	2011-08-29 23:19:43 UTC (rev 94027)
@@ -1,3 +1,14 @@
+2011-08-29  Gopal Raghavan  <[email protected]>
+
+        [Qt] QDesktopWebView url property test missing
+        https://bugs.webkit.org/show_bug.cgi?id=67155
+
+        Reviewed by Noam Rosenthal.
+
+        Added qml test case to check url property. Since url is a readonly property, we make sure that it's set after load() is called.
+
+        * UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_properties.qml:
+
 2011-08-29  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r93987, r93992, r93995, r93998, and

Modified: trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_properties.qml (94026 => 94027)


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

Reply via email to