Bug 285699

Summary: [WPT] support print reftests in LayoutTests
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: simon.fraser, thorton, 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=217173

Sam Sneddon [:gsnedders]
Reported 2025-01-09 11:33:16 PST
See https://web-platform-tests.org/writing-tests/print-reftests.html for some basic documentation. wptrunner supports this with the WebDriver executor and the "Print Page" command (https://w3c.github.io/webdriver/#print-page), which admittedly WebKit doesn't even support in the Automation Protocol layer (see bug 217173). This is, of course, not relevant to run-webkit-tests anyway. When it comes to run-webkit-tests: we have some support for printing to PDF in DRT, from https://commits.webkit.org/27519@main; we then added support for printing to PNGs in https://commits.webkit.org/49656@main, and https://commits.webkit.org/54361@main got rid of the last usage of printing to PDFs. Note that the last of these was not long after https://commits.webkit.org/52776@main, when WKTR got added; we don't seem to have support for printing to PDF in WKTR, even though it exists (albeit long unused) in DRT.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-09 11:33:25 PST
Note You need to log in before you can comment on or make changes to this bug.