Title: [89921] trunk
- Revision
- 89921
- Author
- [email protected]
- Date
- 2011-06-28 04:42:33 -0700 (Tue, 28 Jun 2011)
Log Message
2011-06-28 Balazs Kelemen <[email protected]>
Reviewed by Kenneth Rohde Christiansen.
[X11][WK2] X error with plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63520
* platform/qt-wk2/Skipped:
2011-06-28 Balazs Kelemen <[email protected]>
Reviewed by Kenneth Rohde Christiansen.
[X11][WK2] X error with plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63520
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
Never create a pixmap with (0,0) dimensions.
(WebKit::NetscapePlugin::platformGeometryDidChange):
(WebKit::NetscapePlugin::platformPaint):
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (89920 => 89921)
--- trunk/LayoutTests/ChangeLog 2011-06-28 11:38:05 UTC (rev 89920)
+++ trunk/LayoutTests/ChangeLog 2011-06-28 11:42:33 UTC (rev 89921)
@@ -1,3 +1,12 @@
+2011-06-28 Balazs Kelemen <[email protected]>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [X11][WK2] X error with plugin tests
+ https://bugs.webkit.org/show_bug.cgi?id=63520
+
+ * platform/qt-wk2/Skipped:
+
2011-06-28 Kent Tamura <[email protected]>
Reviewed by Hajime Morita.
Modified: trunk/LayoutTests/platform/qt-wk2/Skipped (89920 => 89921)
--- trunk/LayoutTests/platform/qt-wk2/Skipped 2011-06-28 11:38:05 UTC (rev 89920)
+++ trunk/LayoutTests/platform/qt-wk2/Skipped 2011-06-28 11:42:33 UTC (rev 89921)
@@ -1496,9 +1496,6 @@
plugins/netscape-dom-access.html
plugins/npp-set-window-called-during-destruction.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
Modified: trunk/Source/WebKit2/ChangeLog (89920 => 89921)
--- trunk/Source/WebKit2/ChangeLog 2011-06-28 11:38:05 UTC (rev 89920)
+++ trunk/Source/WebKit2/ChangeLog 2011-06-28 11:42:33 UTC (rev 89921)
@@ -2,6 +2,18 @@
Reviewed by Kenneth Rohde Christiansen.
+ [X11][WK2] X error with plugin tests
+ https://bugs.webkit.org/show_bug.cgi?id=63520
+
+ * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+ Never create a pixmap with (0,0) dimensions.
+ (WebKit::NetscapePlugin::platformGeometryDidChange):
+ (WebKit::NetscapePlugin::platformPaint):
+
+2011-06-28 Balazs Kelemen <[email protected]>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
[X11][WK2] plugins/plugin-_javascript_-access fails
https://bugs.webkit.org/show_bug.cgi?id=63464
Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp (89920 => 89921)
--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp 2011-06-28 11:38:05 UTC (rev 89920)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp 2011-06-28 11:42:33 UTC (rev 89921)
@@ -209,6 +209,11 @@
if (m_drawable)
XFreePixmap(display, m_drawable);
+ if (m_frameRect.isEmpty()) {
+ m_drawable = 0;
+ return;
+ }
+
m_drawable = XCreatePixmap(display, rootWindowID(), m_frameRect.width(), m_frameRect.height(), displayDepth());
XSync(display, false); // Make sure that the server knows about the Drawable.
@@ -231,11 +236,9 @@
return;
}
- if (context->paintingDisabled())
+ if (context->paintingDisabled() || !m_drawable)
return;
- ASSERT(m_drawable);
-
#if PLATFORM(QT)
QPainter* painter = context->platformContext();
painter->translate(m_frameRect.x(), m_frameRect.y());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes