Summary: | Crashes under -[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block_invoke | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca, commit-queue, simon.fraser, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tim Horton
2020-01-03 14:00:31 PST
Created attachment 386714 [details]
Patch
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 Created attachment 386725 [details]
Patch
|