WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
308776
Move dataURL creation in tabsCaptureVisibleTab to background thread
https://bugs.webkit.org/show_bug.cgi?id=308776
Summary
Move dataURL creation in tabsCaptureVisibleTab to background thread
Ben Nham
Reported
2026-02-26 14:04:25 PST
A significant number of MobileSafari hangs in telemetry are coming from the creation of the data url for the snapshotted tab in WebExtensionContext::tabsCaptureVisibleTab. Creating the data URL involves both encoding the snapshot as a PNG and turning it in to a data URL and this blocks the main thread of MobileSafari. Move this work to a background thread instead.
Attachments
Add attachment
proposed patch, testcase, etc.
Ben Nham
Comment 1
2026-02-26 14:04:48 PST
<
rdar://problem/170628256
>
Ben Nham
Comment 2
2026-02-26 14:05:59 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59535
EWS
Comment 3
2026-02-26 16:21:16 PST
Committed
308309@main
(00af076154b0): <
https://commits.webkit.org/308309@main
> Reviewed commits have been landed. Closing PR #59535 and removing active labels.
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