Bug 132029

Summary: DumpRenderTree generates black snapshots on some platforms
Product: WebKit Reporter: Tim Horton <thorton>
Component: Tools / TestsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mmaxfield, msaboff, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch simon.fraser: review+

Description Tim Horton 2014-04-22 16:37:48 PDT
DRT checks with the WebView to determine whether it can use the window's backing store directly or (because of compositing) needs to take a WindowServer snapshot. However, on some platforms and in some situations, the window can be layer backed without the WebView necessarily currently being composited. We should check with the window in addition to the WebView before going ahead and using its backing store.

<rdar://problem/16679363>
Comment 1 Tim Horton 2014-04-22 16:42:43 PDT
Created attachment 229924 [details]
patch
Comment 2 Tim Horton 2014-04-22 16:55:57 PDT
http://trac.webkit.org/changeset/167691