RESOLVED FIXED 205749
Crashes under -[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block_invoke
https://bugs.webkit.org/show_bug.cgi?id=205749
Summary Crashes under -[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block...
Tim Horton
Reported 2020-01-03 14:00:31 PST
Crashes under -[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block_invoke
Attachments
Patch (74.27 KB, patch)
2020-01-03 14:04 PST, Tim Horton
no flags
Patch (72.35 KB, patch)
2020-01-03 16:15 PST, Tim Horton
thorton: commit-queue+
Tim Horton
Comment 1 2020-01-03 14:04:16 PST
Tim Horton
Comment 2 2020-01-03 14:04:30 PST
Simon Fraser (smfr)
Comment 3 2020-01-03 14:39:17 PST
Comment on attachment 386714 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386714&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:3578 > + RetainPtr<WKContentView> view = retainPtr(self); > + RetainPtr<WKWebView> webView = _webView.get(); Undo this part > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6020 > + [presentingViewController.transitionCoordinator animateAlongsideTransition:nil completion:[weakWebView = WeakObjCPtr<WKWebView>(self.webView), controller = _presentedFullScreenInputViewController] (id <UIViewControllerTransitionCoordinatorContext>) { Can we just copy the weak ptr? > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6041 > + [[presentedController transitionCoordinator] animateAlongsideTransition:nil completion:[weakWebView = WeakObjCPtr<WKWebView>(self.webView), controller = presentedController] (id <UIViewControllerTransitionCoordinatorContext>) { Ditto
Tim Horton
Comment 4 2020-01-03 16:15:02 PST
Tim Horton
Comment 5 2020-01-03 17:58:16 PST
Note You need to log in before you can comment on or make changes to this bug.