WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207899
[macOS] Web process may crash under ServicesOverlayController::buildPotentialHighlightsIfNeeded
https://bugs.webkit.org/show_bug.cgi?id=207899
Summary
[macOS] Web process may crash under ServicesOverlayController::buildPotential...
Wenson Hsieh
Reported
2020-02-18 10:51:52 PST
<
rdar://problem/55658207
>
Attachments
Patch
(8.59 KB, patch)
2020-02-18 11:01 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
v2
(10.93 KB, patch)
2020-02-18 11:37 PST
,
Wenson Hsieh
thorton
: review+
wenson_hsieh
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2020-02-18 11:01:45 PST
Comment hidden (obsolete)
Created
attachment 391067
[details]
Patch
Wenson Hsieh
Comment 2
2020-02-18 11:34:30 PST
Ah....it looks like my new test crashes on iOS :( Going to augment my patch to fix this as well.
Wenson Hsieh
Comment 3
2020-02-18 11:37:10 PST
Created
attachment 391072
[details]
v2
Simon Fraser (smfr)
Comment 4
2020-02-18 14:44:57 PST
Comment on
attachment 391072
[details]
v2 View in context:
https://bugs.webkit.org/attachment.cgi?id=391072&action=review
> Source/WebCore/page/mac/ServicesOverlayController.mm:547 > FrameView* viewForRange = selectionRange->ownerDocument().view();
We usually do RefPtr<FrameView> these days.
Wenson Hsieh
Comment 5
2020-02-18 14:53:40 PST
Comment on
attachment 391072
[details]
v2 View in context:
https://bugs.webkit.org/attachment.cgi?id=391072&action=review
>> Source/WebCore/page/mac/ServicesOverlayController.mm:547 >> FrameView* viewForRange = selectionRange->ownerDocument().view(); > > We usually do RefPtr<FrameView> these days.
Sure, I’ll ref this (I originally wanted to avoid making any changes that weren’t necessary to fix the crash, but I guess my WebPageIOS change makes this point moot anyways :/)
Wenson Hsieh
Comment 6
2020-02-18 15:15:48 PST
Committed
r256859
: <
https://trac.webkit.org/changeset/256859
>
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