Bug 160016 - [GTK][Threaded Compositor] WTR generates fully white images for pixel tests most of the time
Summary: [GTK][Threaded Compositor] WTR generates fully white images for pixel tests m...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks: 154066
  Show dependency treegraph
 
Reported: 2016-07-21 04:35 PDT by Carlos Garcia Campos
Modified: 2016-07-21 09:03 PDT (History)
1 user (show)

See Also:


Attachments
Patch (6.89 KB, patch)
2016-07-21 04:42 PDT, Carlos Garcia Campos
zan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2016-07-21 04:35:31 PDT
WTR sends a force repaint message to the web process before taking a snapshot of the web view. With the threaded compositor, the UI process is notified about the force repaint callback before the contents have been actually painted.
Comment 1 Carlos Garcia Campos 2016-07-21 04:42:08 PDT
Created attachment 284206 [details]
Patch
Comment 2 Carlos Garcia Campos 2016-07-21 09:03:58 PDT
Committed r203504: <http://trac.webkit.org/changeset/203504>