Bug 258298 - `testRunner.dumpAsText(true)` doesn't dump pixels
Summary: `testRunner.dumpAsText(true)` doesn't dump pixels
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-20 06:34 PDT by Vitaly Dyackhov
Modified: 2023-06-27 06:35 PDT (History)
4 users (show)

See Also:


Attachments

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