[WinCairo] DumpRenderTree and WebKitTestRunner doesn's support pixel dump for accelerated compositing mode AppleWin supports it. CACFLayerTreeHost::paint seems do the task. Bug 46849 – [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
Created attachment 405755 [details] WIP patch BitBlt can capture the window content. But, the problem is the windows shoudd be visible and needs diabling WindowStaion.
Created attachment 441991 [details] Playwright script I checked Playwright screen capture feature on Windows. Chrome and Firefox can capture the browser window both in headless and non-headless modes. WebKit (WinCairo based) can capture only in non-headless modes. I should check how Chrome and Firefox capture in the headless mode. winget openjs.nodejs npm install playwright node video.mjs
Created attachment 449309 [details] WIP patch
Created attachment 449364 [details] WIP patch
Created attachment 449966 [details] WIP patch
Created attachment 449997 [details] Patch
Comment on attachment 449997 [details] Patch Is this all that's needed to get pixel tests working? TestController:::takeViewPortSnapshot is unimplemented on Windows.
(In reply to Don Olmstead from comment #7) > Comment on attachment 449997 [details] > Patch > > Is this all that's needed to get pixel tests working? > TestController:::takeViewPortSnapshot is unimplemented on Windows. Yes, this patch makes AC mode pixel tests pass. However, DRT doesn't support it. takeViewPortSnapshot is used only by fast/mediastream tests (Bug 231059).
Committed r288784 (246561@main): <https://commits.webkit.org/246561@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449997 [details].
<rdar://problem/88217028>