[Qt][WK2] Some QML tests were accidentally committed.
authoralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Oct 2011 13:51:48 +0000 (13:51 +0000)
committeralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Oct 2011 13:51:48 +0000 (13:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=70321

Reviewed by Andreas Kling.

These tests were committed by accident. They should not be there.

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

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_preferences.qml

index 974619b..3b6aed8 100644 (file)
@@ -1,3 +1,14 @@
+2011-10-18  Alexis Menard  <alexis.menard@openbossa.org>
+
+        [Qt][WK2] Some QML tests were accidentally committed.
+        https://bugs.webkit.org/show_bug.cgi?id=70321
+
+        Reviewed by Andreas Kling.
+
+        These tests were committed by accident. They should not be there.
+
+        * UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_preferences.qml:
+
 2011-10-18  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
         [Qt] Send mouse move events when we handle HoverEnter/Leave in QDesktopWebView
index 2abcb22..3b1b76b 100644 (file)
@@ -61,24 +61,5 @@ DesktopWebView {
             spy.wait()
             compare(webView.title, "New Title")
         }
-
-        function test_pluginsDisabled() {
-            webView.preferences.pluginsEnabled = false
-            var testUrl = Qt.resolvedUrl("../common/plugins.html")
-            webView.load(testUrl)
-            spy.wait()
-            compare(webView.title, "Plugins Not Loaded")
-        }
-
-        function test_pluginsEnabled() {
-            webView.preferences.pluginsEnabled = true
-            var testUrl = Qt.resolvedUrl("../common/plugins.html")
-            webView.load(testUrl)
-            spy.wait()
-            spy.clear()
-            webView.load(testUrl)
-            spy.wait()
-            compare(webView.title, "Original Title")
-        }
     }
 }