Bug 244756 - Enable -autoDisplay in DumpRenderTree's window
Summary: Enable -autoDisplay in DumpRenderTree's window
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-02 20:42 PDT by Simon Fraser (smfr)
Modified: 2022-09-09 20:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>