Bug 63520 - [X11][WK2] X error with plugin tests
Summary: [X11][WK2] X error with plugin tests
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Balazs Kelemen
Depends on:
Reported: 2011-06-28 01:59 PDT by Balazs Kelemen
Modified: 2011-06-28 04:42 PDT (History)
1 user (show)

See Also:

Patch (3.21 KB, patch)
2011-06-28 02:21 PDT, Balazs Kelemen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 2 Balazs Kelemen 2011-06-28 02:21:19 PDT
Created attachment 98886 [details]
Comment 3 Kenneth Rohde Christiansen 2011-06-28 04:00:38 PDT
Comment on attachment 98886 [details]

Comment 4 WebKit Review Bot 2011-06-28 04:42:46 PDT
Comment on attachment 98886 [details]

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.