Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f3816fe314e206a10b5694e19c86e0721b35bbe8
https://github.com/WebKit/WebKit/commit/f3816fe314e206a10b5694e19c86e0721b35bbe8
Author: Megan Gardner <[email protected]>
Date: 2026-04-25 (Sat, 25 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
Harden NSDraggingItem creation in WebViewImpl::startDrag.
https://bugs.webkit.org/show_bug.cgi?id=313272
rdar://175548535
Reviewed by Abrar Rahman Protyasha.
When investigating rdar://174985681 I found that there
was a crash when trying to drag the captcha slider on tiktok.
This lead me to rdar://174904952 which I attempted to fix in
https://github.com/WebKit/WebKit/pull/63292 But didn't know that
it had already been fixed and tested in https://commits.webkit.org/310831@main
I am added exception blocking on top of that fix as this is
standard practice when interfacing with other Obj-C APIs, and
without it we would crash the entire Safari process.
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::startDrag):
Canonical link: https://commits.webkit.org/312013@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications