Bug 258298

Summary: `testRunner.dumpAsText(true)` doesn't dump pixels
Product: WebKit Reporter: Vitaly Dyackhov <vitaly>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, gsnedders, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=60298
https://bugs.webkit.org/show_bug.cgi?id=42374
https://bugs.webkit.org/show_bug.cgi?id=256377

Description Vitaly Dyackhov 2023-06-20 06:34:49 PDT
`LayoutTests/animations/animation-offscreen-to-onscreen.html` for example uses this snippet:
```
if (window.testRunner) {
    window.testRunner.dumpAsText(true);
}
```

But `WebKitTestRunner` only dumps text but not pixels:
```
WebKitBuild/Release/bin/WebKitTestRunner LayoutTests/animations/animation-offscreen-to-onscreen.html
Gdk-Message: 15:30:20.976: Window 0x5605b1a30790 is a temporary window without parent, application will not be able to position it on screen.
Content-Type: text/plain
PASS - "webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,100,0

#EOF
#EOF
#EOF
```
Comment 1 Vitaly Dyackhov 2023-06-20 06:52:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15105
Comment 2 Alexey Proskuryakov 2023-06-20 10:55:20 PDT
I could swear we had a bug about this, but I cannot find it.
Comment 3 Radar WebKit Bug Importer 2023-06-27 06:35:16 PDT
<rdar://problem/111388446>