Title: [89482] trunk
Revision
89482
Author
[email protected]
Date
2011-06-22 14:40:58 -0700 (Wed, 22 Jun 2011)

Log Message

2011-06-22  Balazs Kelemen  <[email protected]>

        Reviewed by Andreas Kling.

        [Qt][WK2] Set up plugin tests
        https://bugs.webkit.org/show_bug.cgi?id=63066

        * platform/qt-wk2/Skipped:
        Unskip passing plugin tests and create a new group for those
        that still fail for some reason.
2011-06-22  Balazs Kelemen  <[email protected]>

        Reviewed by Andreas Kling.

        [Qt][WK2] Set up plugin tests
        https://bugs.webkit.org/show_bug.cgi?id=63066

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::createPlugin):
        Force windowless mode for the test plugin because we
        don't support windowed plugins yet.
2011-06-22  Balazs Kelemen  <[email protected]>

        Reviewed by Andreas Kling.

        [Qt][WK2] Set up plugin tests
        https://bugs.webkit.org/show_bug.cgi?id=63066

        * WebKitTestRunner/qt/TestControllerQt.cpp:
        (WTR::TestController::initializeTestPluginDirectory):
        Use the QTWEBKIT_PLUGIN_PATH environment variable as the path
        of the test plugin like DRT does.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (89481 => 89482)


--- trunk/LayoutTests/ChangeLog	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/LayoutTests/ChangeLog	2011-06-22 21:40:58 UTC (rev 89482)
@@ -1,3 +1,14 @@
+2011-06-22  Balazs Kelemen  <[email protected]>
+
+        Reviewed by Andreas Kling.
+
+        [Qt][WK2] Set up plugin tests
+        https://bugs.webkit.org/show_bug.cgi?id=63066
+
+        * platform/qt-wk2/Skipped:
+        Unskip passing plugin tests and create a new group for those
+        that still fail for some reason.
+
 2011-06-22  Jessie Berlin  <[email protected]>
 
         WebKit2 needs layoutTestController.overridePreference.

Modified: trunk/LayoutTests/platform/qt-wk2/Skipped (89481 => 89482)


--- trunk/LayoutTests/platform/qt-wk2/Skipped	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/LayoutTests/platform/qt-wk2/Skipped	2011-06-22 21:40:58 UTC (rev 89482)
@@ -808,17 +808,6 @@
 svg/zoom/page/zoom-coords-viewattr-01-b.svg
 svg/zoom/text/zoom-coords-viewattr-01-b.svg
 
-# Qt WebKit2 needs plugins support
-fast/css/acid2-pixel.html
-fast/css/acid2.html
-fast/events/tabindex-focus-blur-all.html
-fast/loader/loadInProgress.html
-http/tests/misc/acid2-pixel.html
-http/tests/misc/acid2.html
-http/tests/plugins
-plugins
-java
-
 # WebKit2 needs layoutTestController.overridePreference
 # <https://bugs.webkit.org/show_bug.cgi?id=42197>
 # Get accelerated compositing working with webkit2
@@ -1501,6 +1490,22 @@
 http/tests/security/cross-frame-access-protocol-explicit-domain.html
 http/tests/security/cross-frame-access-protocol.html
 
+# Unexplained plugin failures
+plugins/document-open.html
+plugins/embed-prefers-plugins-for-images.html
+plugins/geturlnotify-during-document-teardown.html
+plugins/plugin-initiate-popup-window.html
+plugins/mouse-events-fixedpos.html
+plugins/netscape-dom-access.html
+plugins/npp-set-window-called-during-destruction.html
+plugins/open-and-close-window-with-plugin.html
+plugins/plugin-initiatate-popup-window.html
+plugins/plugin-_javascript_-access.html
+plugins/reloadplugins-and-pages.html
+plugins/destroy-stream-twice.html
+plugins/object-embed-plugin-scripting.html
+plugins/npruntime/npruntime.html
+
 # Unexplained failures
 fast/dom/beforeload/remove-frame-in-beforeload-listener.html
 fast/dom/css-cached-import-rule.html

Modified: trunk/Source/WebKit2/ChangeLog (89481 => 89482)


--- trunk/Source/WebKit2/ChangeLog	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/Source/WebKit2/ChangeLog	2011-06-22 21:40:58 UTC (rev 89482)
@@ -1,3 +1,15 @@
+2011-06-22  Balazs Kelemen  <[email protected]>
+
+        Reviewed by Andreas Kling.
+
+        [Qt][WK2] Set up plugin tests
+        https://bugs.webkit.org/show_bug.cgi?id=63066
+
+        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+        (WebKit::WebFrameLoaderClient::createPlugin):
+        Force windowless mode for the test plugin because we
+        don't support windowed plugins yet.
+
 2011-06-22  Geoffrey Garen  <[email protected]>
 
         Reviewed by Oliver Hunt.

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (89481 => 89482)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2011-06-22 21:40:58 UTC (rev 89482)
@@ -1273,6 +1273,9 @@
             parameters.values.append("opaque");
         } else if (equalIgnoringCase(parameters.values[wmodeIndex], "window"))
             parameters.values[wmodeIndex] = "opaque";
+    } else if (equalIgnoringCase(mimeType, "application/x-webkit-test-netscape")) {
+        parameters.names.append("windowedPlugin");
+        parameters.values.append("false");
     }
 #endif
 

Modified: trunk/Tools/ChangeLog (89481 => 89482)


--- trunk/Tools/ChangeLog	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/Tools/ChangeLog	2011-06-22 21:40:58 UTC (rev 89482)
@@ -1,3 +1,15 @@
+2011-06-22  Balazs Kelemen  <[email protected]>
+
+        Reviewed by Andreas Kling.
+
+        [Qt][WK2] Set up plugin tests
+        https://bugs.webkit.org/show_bug.cgi?id=63066
+
+        * WebKitTestRunner/qt/TestControllerQt.cpp:
+        (WTR::TestController::initializeTestPluginDirectory):
+        Use the QTWEBKIT_PLUGIN_PATH environment variable as the path
+        of the test plugin like DRT does.
+
 2011-06-22  Eric Seidel  <[email protected]>
 
         Reviewed by Ojan Vafai.

Modified: trunk/Tools/WebKitTestRunner/qt/TestControllerQt.cpp (89481 => 89482)


--- trunk/Tools/WebKitTestRunner/qt/TestControllerQt.cpp	2011-06-22 21:38:46 UTC (rev 89481)
+++ trunk/Tools/WebKitTestRunner/qt/TestControllerQt.cpp	2011-06-22 21:40:58 UTC (rev 89482)
@@ -121,8 +121,7 @@
 
 void TestController::initializeTestPluginDirectory()
 {
-    // This is called after initializeInjectedBundlePath.
-    m_testPluginDirectory = m_injectedBundlePath;
+    m_testPluginDirectory = WKStringCreateWithUTF8CString(qgetenv("QTWEBKIT_PLUGIN_PATH").constData());
 }
 
 void TestController::platformInitializeContext()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to