[Webkit-unassigned] [Bug 56393] Without checking existence of the renderer of the element, tries to access the enclosing layer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 07:24:36 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56393





--- Comment #13 from Joe Wild <joseph.wild at nokia.com>  2011-05-19 07:24:35 PST ---
Created an attachment (id=94067)
 --> (https://bugs.webkit.org/attachment.cgi?id=94067&action=review)
Example Layout test for this problem

I am not only submitting this as a an example for a test.  I think it
has too many problems listed below for it to be a real test.  Main
problem is that I could not get it to not reset on Linux QtWebkit
with gtk/flash plugin interaction.

Here is a small test case that can show the null renderer reset.  It
contains an iframe with style="display:none" of an object element of a
.swf file.

There are a number of things I don't like about this test, but could not
figure out a better way to do.

First, I had to add an ASSERT((elt->renderer()) to
FrameView::windowClipRect() to get it to reset in Linux as it does
on Symbian.

Second, I had to break the test into 3 files.  I could not reproduce the
problem by trying to embed content with the data: scheme.

Third, since I have to wait for the iframe file and .swf file to load,
I used a window.setTimeout( "bodyLoaded();", 300) to wait for the failure.

Fourth, I had to go through all sorts of investigation to get the plugin
code in be loaded under run-webkit-tests to reproduce this error.  Eventually,
I just copied the Linux plugins to the run-webkit-tests plugin area with

   $ cp /usr/lib/mozilla/plugins/*.so /home/jwild/dev/webkit/WebKit.2011.03.21/WebKitBuild/Release/lib/plugins/

Fifth, this test was continuing to assert/reset on Linux QtWebkit
because of problem with the Flash Plugin/Gtk that fails for other .swf
tests.

(process:27607): Gtk-CRITICAL **: IA__gtk_clipboard_get_for_display: assertion `display != NULL' failed
Adobe Flash Player: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);

(<unknown>:27607): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

(<unknown>:27607): Gdk-WARNING **: /build/buildd/gtk+2.0-2.22.0/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window
Source:

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list