⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 94033 in webkit


Ignore:
Timestamp:
Aug 29, 2011, 4:47:23 PM (15 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> 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:
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r94027 r94033  
     12011-08-29  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
     2
     3
     4        [Qt] QTouchWebView url property test missing
     5        https://bugs.webkit.org/show_bug.cgi?id=67159
     6
     7        Reviewed by Noam Rosenthal.
     8
     9        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.
     10
     11        * UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml:
     12
    1132011-08-29  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
    214
  • trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml

    r92277 r94033  
    2121            compare(webView.page.title, "Test page 1")
    2222        }
     23
     24        function test_url() {
     25            compare(spy.count, 1)
     26            var testUrl = Qt.resolvedUrl("../common/test1.html")
     27            webView.page.load(testUrl)
     28            spy.wait()
     29            compare(webView.page.url, testUrl)
     30        }
     31
    2332    }
    2433}
Note: See TracChangeset for help on using the changeset viewer.