[webkit-changes] [WebKit/WebKit] d79294: REGRESSION (Sonoma): WKTR ref test images are HiDP...
Tim Horton
noreply at github.com
Thu Sep 28 17:44:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d792947a2e1b2afcc6fa691e14779a3b781dd9ba
https://github.com/WebKit/WebKit/commit/d792947a2e1b2afcc6fa691e14779a3b781dd9ba
Author: Tim Horton <thorton at apple.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M Tools/WebKitTestRunner/mac/WebKitTestRunnerWindow.mm
Log Message:
-----------
REGRESSION (Sonoma): WKTR ref test images are HiDPI when running tests on a Retina display (should be 1x)
https://bugs.webkit.org/show_bug.cgi?id=262339
rdar://115752331
Reviewed by Aditya Keerthi.
* Tools/WebKitTestRunner/mac/WebKitTestRunnerWindow.mm:
(-[WebKitTestRunnerWindow _adjustWindowResolution]):
Don't let AppKit automatically adjust the window resolution (which will pull
it from the screen, which can have an arbitrary resolution). We force the
resolution to 1x or 2x for all WKTR windows depending on what the test needs.
Canonical link: https://commits.webkit.org/268622@main
More information about the webkit-changes
mailing list