RESOLVED FIXED308776
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
Ben Nham
Comment 1 2026-02-26 14:04:48 PST
Ben Nham
Comment 2 2026-02-26 14:05:59 PST
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.