RESOLVED FIXED311871
Introduce convertRectsToMainFrameCoordinates for batching multiple rect conversions
https://bugs.webkit.org/show_bug.cgi?id=311871
Summary Introduce convertRectsToMainFrameCoordinates for batching multiple rect conve...
zak ridouh
Reported 2026-04-09 15:48:35 PDT
convertRectToMainFrameCoordinates converts a single rect from a subframe's coordinate space to the main frame via a recursive IPC chain (one round-trip per frame level). Callers that need to convert multiple rects from the same frame must make separate sequential calls, each incurring their own IPC round-trips. Introduce a batch variant `convertRectsToMainFrameCoordinates`that converts a Vector<FloatRect> in a single IPC call per frame level. A new ContentsToRootViewRects IPC message handles the WebProcess side by iterating the vector through the existing contentsToRootView template.
Attachments
zak ridouh
Comment 1 2026-04-09 16:07:16 PDT
Radar WebKit Bug Importer
Comment 2 2026-04-09 16:07:22 PDT
zak ridouh
Comment 3 2026-04-09 16:10:04 PDT
EWS
Comment 4 2026-04-13 12:29:28 PDT
Committed 311135@main (3b2eaabb33ce): <https://commits.webkit.org/311135@main> Reviewed commits have been landed. Closing PR #62394 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.