RESOLVED INVALID 279075
[WebDriver] Remove the unused ForceSoftwareCapturingViewportSnapshot option
https://bugs.webkit.org/show_bug.cgi?id=279075
Summary [WebDriver] Remove the unused ForceSoftwareCapturingViewportSnapshot option
Qianlang Chen
Reported 2024-09-03 10:40:09 PDT
The patch https://github.com/WebKit/WebKit/commit/bdd0eaf1d28f834bdc3fab3e656486522f3b301f added an option ForceSoftwareCapturingViewportSnapshot to allow WebDriver to bypass a AppKit bug. Eric Carlson with a new patch https://github.com/WebKit/WebKit/pull/32687/commits/ea20b8a718cd18f88b5ba0fd7536c9f13c55f89e found a better way to fix the bug that isn't WebDriver-specific, making the option ForceSoftwareCapturingViewportSnapshot not useful anymore. We should remove it.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-03 10:40:24 PDT
Qianlang Chen
Comment 2 2024-09-16 10:49:01 PDT
My mistake. Eric at one point had a patch that used ScreenCaptureKit to bypass the deprecated function, but that patch was never landed due to it having performance regression. His currently landed patch (https://github.com/WebKit/WebKit/pull/32687/commits/ea20b8a718cd18f88b5ba0fd7536c9f13c55f89e) still uses the deprecated function, and the ForceSoftwareCapturingViewportSnapshot parameter remains useful (not unused). Use https://bugs.webkit.org/show_bug.cgi?id=277572 to track removing the use of the deprecated screenshotting function instead.
Note You need to log in before you can comment on or make changes to this bug.