WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
312809
[Swift Testing] Add Swift mouse-event helpers for TestWKWebView
https://bugs.webkit.org/show_bug.cgi?id=312809
Summary
[Swift Testing] Add Swift mouse-event helpers for TestWKWebView
zak ridouh
Reported
2026-04-20 13:39:13 PDT
Add a @MainActor extension on TestWKWebView exposing simulate* mouse helpers (mouseDown, mouseUp, mouseMove, mouseDrag, click, clicks, rightClick) plus an async waitForPendingMouseEvents() that wraps _doAfterProcessingAllPendingMouseEvents: with withCheckedContinuation. Unblocks porting AppKit-heavy SiteIsolation tests to Swift Testing without blocking the main thread on Util::run.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-20 13:39:20 PDT
<
rdar://problem/175191513
>
zak ridouh
Comment 2
2026-04-20 13:48:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/63151
EWS
Comment 3
2026-05-09 18:04:25 PDT
Committed
312960@main
(695318725b7d): <
https://commits.webkit.org/312960@main
> Reviewed commits have been landed. Closing PR #63151 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug