Repository navigation
Speculative fix for StabilityTracer: Safari at com.apple.AppKit: -[NSDraggingItem setDraggingFrame:]. - #63292
Closed
megangardner wants to merge 1 commit into
Conversation
…DraggingItem setDraggingFrame:]. https://bugs.webkit.org/show_bug.cgi?id=312957 rdar://174904952 Reviewed by NOBODY (OOPS!). Speculative fix for crash resulting from the drag image having no size. We should try to keep the image from ever getting to the zero size, but if it does, we should bail before we give AppKit the chance to crash the app. * Source/WebCore/platform/cocoa/DragImageCocoa.mm: (WebCore::scaleDragImage): * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::WebViewImpl::startDrag):
Collaborator
|
EWS run on current version of this PR (hash 84880bf) Details
|
megangardner
requested review from
aprotyas,
hortont424,
jesxilin,
lilyspiniolas,
pascoej,
pxlcoder and
whsieh
April 22, 2026 04:01
webkit-commit-queue
pushed a commit
to megangardner/WebKit
that referenced
this pull request
Apr 25, 2026
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 WebKit#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
84880bf
84880bf