WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
323422
[WebDriver][BiDi] Honor ImageFormat type and quality in browsingContext.captureScreenshot
https://bugs.webkit.org/show_bug.cgi?id=323422
Summary
[WebDriver][BiDi] Honor ImageFormat type and quality in browsingContext.captu...
Timothy Olusanya
Reported
2026-09-04 02:11:59 PDT
Captures are currently always encoded as PNG. Remaining work: thread format.type and format.quality through to the encoder so image/jpeg is honored, with unsupported types falling back to image/png per HTML's "a serialization of the bitmap as a file", which the BiDi encode step delegates to. WPT: capture_screenshot/format.py.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-09-11 02:12:13 PDT
<
rdar://problem/187190574
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug