~oxide-developers/oxide/1.3

« back to all changes in this revision

Viewing changes to qt/tests/qmltests/api/tst_WebFrame_url.qml

  • Committer: Olivier Tilloy
  • Date: 2014-10-28 22:09:14 UTC
  • Revision ID: olivier.tilloy@canonical.com-20141028220914-df0cy46k8qql31ci
Tags: QT_1_3_2
Delegate unhandled URL schemes to the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    name: "WebFrame_url"
23
23
    when: windowShown
24
24
 
 
25
    function initTestCase() {
 
26
      OxideTestingUtils.setUrlHandler("foo", false);
 
27
    }
 
28
 
 
29
    function cleanupTestCase() {
 
30
      OxideTestingUtils.unsetUrlHandler("foo");
 
31
    }
 
32
 
25
33
    function test_WebFrame_url1() {
26
34
      webView.url = "http://testsuite/empty.html";
27
35
      verify(webView.waitForLoadSucceeded(),