Bug 321593
| Summary: | [Web Automation] Element Click targets the wrong position inside a cross-origin iframe under Site Isolation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | WebDriver | Assignee: | Razvan Caliman <rcaliman> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bburg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 322023 | ||
Razvan Caliman
The coordinates that WebAutomationSessionProxy::computeElementLayout() returns are relative to the frame's local root, because a frame's web process cannot see where that frame sits within the main page. With Site Isolation enabled, a cross-origin iframe's local root is the iframe itself, so the reported in-view center point is missing the frame's offset within the main page.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/184713255>
Razvan Caliman
Pull request: https://github.com/WebKit/WebKit/pull/71439
EWS
Committed 319384@main (fe0e6eb35c7b): <https://commits.webkit.org/319384@main>
Reviewed commits have been landed. Closing PR #71439 and removing active labels.