NEW329452
[WebDriver BiDi] input.performActions: avoid waiting for a presentation update to get a cross-process iframe's viewport
https://bugs.webkit.org/show_bug.cgi?id=329452
Summary [WebDriver BiDi] input.performActions: avoid waiting for a presentation updat...
Razvan Caliman
Reported 2026-10-29 12:43:55 PDT
For a frame whose root frame isn't the main frame (site isolation), WebAutomationSession::runBidiInteractionSequence waits for callAfterNextPresentationUpdate before asking the frame's process for its viewport. If that callback is postponed while the window is occluded, minimized or hidden, performActions never replies and blocks the context's input queue. Investigate: - whether the callback is guaranteed to run in those states; - whether WebPageProxy::convertPointToMainFrameCoordinates can provide the frame origin without the extra message or the wait. Classic Switch To Frame could reuse the same approach. Reported in review of https://github.com/WebKit/WebKit/pull/75927.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-10-29 12:44:03 PDT
Note You need to log in before you can comment on or make changes to this bug.