|Summary:||[X11][WK2] X error with plugin tests|
|Product:||WebKit||Reporter:||Balazs Kelemen <kbalazs>|
|Component:||WebKit2||Assignee:||Balazs Kelemen <kbalazs>|
|Version:||528+ (Nightly build)|
Description Balazs Kelemen 2011-06-28 01:59:21 PDT
plugins/destroy-stream-twice.html and plugins/npruntime/npruntime.html take out the following error: The program '<unknown>' received an X Window System error. This probably reflects a bug in the program. The error was 'BadValue (integer parameter out of range for operation)'. (Details: serial 208 error_code 2 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Both of them has an embed tag with width:0 and height:0 attributes. It came out that the X server does not accept a pixmap with (0,0) dimensions so we need to handle this as a special case.
Comment 1 Balazs Kelemen 2011-06-28 02:07:23 PDT
plugins/object-embed-plugin-scripting.html is also affected.
Comment 3 Kenneth Rohde Christiansen 2011-06-28 04:00:38 PDT
Comment on attachment 98886 [details] Patch Nice!
Comment 4 WebKit Review Bot 2011-06-28 04:42:46 PDT
Comment on attachment 98886 [details] Patch Clearing flags on attachment: 98886 Committed r89921: <http://trac.webkit.org/changeset/89921>
Comment 5 WebKit Review Bot 2011-06-28 04:42:50 PDT
All reviewed patches have been landed. Closing bug.