Bug 244756

Summary: Enable -autoDisplay in DumpRenderTree's window
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: ap, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2022-09-02 20:42:17 PDT
DumpRenderTree's calls -setAutoDisplay:NO on its window, unless there are compositing layers. Historically I think this was done to allow tests to control when painting happens, and to improve performance, but it would be better if DRT behaved more like WebKitTestRunner and had normal, rendering-update-drive repaint behavior.

-setAutoDisplay:NO even makes the window never appear on the screen (with --show-webview) so it hinders debugging, and makes it harder to adapt DRT to allow repaint testing via ref tests.
Comment 1 Simon Fraser (smfr) 2022-09-02 20:43:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3987
Comment 2 Radar WebKit Bug Importer 2022-09-09 20:43:16 PDT
<rdar://problem/99770566>