Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fdbdbe0f7a971edae8e1eff89ab31755fd29a768
https://github.com/WebKit/WebKit/commit/fdbdbe0f7a971edae8e1eff89ab31755fd29a768
Author: Zak Ridouh <[email protected]>
Date: 2026-05-13 (Wed, 13 May 2026)
Changed paths:
M LayoutTests/editing/selection/drag-in-iframe.html
M LayoutTests/platform/mac-site-isolation/TestExpectations
Log Message:
-----------
[Site Isolation] Fix editing/selection/drag-in-iframe.html
https://bugs.webkit.org/show_bug.cgi?id=314678
rdar://176926106
Reviewed by Sihui Liu.
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.
* LayoutTests/editing/selection/drag-in-iframe.html:
* LayoutTests/platform/mac-site-isolation/TestExpectations:
Canonical link: https://commits.webkit.org/313203@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications