Bug 314678
| Summary: | [Site Isolation] Fix editing/selection/drag-in-iframe.html | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | New Bugs | Assignee: | zak ridouh <zakr> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
The test wants to snapshot a drag mid-gesture: it calls notifyDone()
before the trailing mouseUp() so the dump captures the drag caret.
Without site isolation that works because notifyDone() is synchronous.
With site isolation it's async, so the mouseUp() runs first, the drop
completes, and the snapshot reflects post-drop DOM.
I switched the mouse calls to the async eventSender APIs and dropped
the trailing mouseUp() — it was only cleanup, and it's the actual
failure under site isolation. I also removed the now-passing
expectation.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176926106>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/64793
EWS
Committed 313203@main (fdbdbe0f7a97): <https://commits.webkit.org/313203@main>
Reviewed commits have been landed. Closing PR #64793 and removing active labels.