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
311871
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
Add attachment
proposed patch, testcase, etc.
zak ridouh
Comment 1
2026-04-09 16:07:16 PDT
<
rdar://174444821
>
Radar WebKit Bug Importer
Comment 2
2026-04-09 16:07:22 PDT
<
rdar://problem/174446469
>
zak ridouh
Comment 3
2026-04-09 16:10:04 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62394
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.
Top of Page
Format For Printing
XML
Clone This Bug