[Qt][WK2]REGRESSION(r103310): It broke tst_QQuickWebView::loadNonexistentFileUrl...
authorjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Dec 2011 13:36:14 +0000 (13:36 +0000)
committerjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Dec 2011 13:36:14 +0000 (13:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=74923

Rubber-stamped by Csaba Osztrogon√°c.

Fixing API usage after http://trac.webkit.org/changeset/103310.

* UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
(tst_QQuickWebView::loadNonexistentFileUrl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103324 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp

index 39f4db9..9130752 100644 (file)
@@ -1,3 +1,15 @@
+2011-12-20  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
+
+        [Qt][WK2]REGRESSION(r103310): It broke tst_QQuickWebView::loadNonexistentFileUrl() API test
+        https://bugs.webkit.org/show_bug.cgi?id=74923
+
+        Rubber-stamped by Csaba Osztrogon√°c.
+
+        Fixing API usage after http://trac.webkit.org/changeset/103310.
+
+        * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
+        (tst_QQuickWebView::loadNonexistentFileUrl):
+
 2011-12-20  Simon Hausmann  <simon.hausmann@nokia.com>
 
         [Qt] Favicon support should work with multiple web contexts
index 548add0..e66b338 100644 (file)
@@ -168,7 +168,7 @@ void tst_QQuickWebView::loadNonexistentFileUrl()
     QSignalSpy loadFailedSpy(webView(), SIGNAL(loadStarted()));
 
     webView()->load(QUrl::fromLocalFile(QLatin1String(TESTS_SOURCE_DIR "/html/file_that_does_not_exist.html")));
-    QVERIFY(waitForSignal(webView(), SIGNAL(loadFailed(QQuickWebView::ErrorType, int, QUrl))));
+    QVERIFY(waitForSignal(webView(), SIGNAL(loadFailed(QQuickWebView::ErrorDomain, int, QUrl, QString))));
 
     QCOMPARE(loadFailedSpy.size(), 1);
 }