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
Attachments
Patch (8.59 KB, patch)
2020-02-18 11:01 PST, Wenson Hsieh
no flags
v2 (10.93 KB, patch)
2020-02-18 11:37 PST, Wenson Hsieh
thorton: review+
wenson_hsieh: commit-queue-
Wenson Hsieh
Comment 1 2020-02-18 11:01:45 PST Comment hidden (obsolete)
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
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
Note You need to log in before you can comment on or make changes to this bug.