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, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 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.
Attachments
Simon Fraser (smfr)
Comment 1 2022-09-02 20:43:35 PDT
Radar WebKit Bug Importer
Comment 2 2022-09-09 20:43:16 PDT
Simon Fraser (smfr)
Comment 3 2025-09-26 10:44:37 PDT
Not having DRT windows autodisplay breaks largest-contentful-paint tests
Note You need to log in before you can comment on or make changes to this bug.