Bug 329452
| Summary: | [WebDriver BiDi] input.performActions: avoid waiting for a presentation update to get a cross-process iframe's viewport | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 326378 | ||
| Bug Blocks: | 281949 | ||
Razvan Caliman
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/191327860>