Rare crash under -[WKContentView resignFirstResponderForWebView]
Created attachment 399677 [details] Patch
<rdar://problem/60187111>
Comment on attachment 399677 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399677&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:1412 > + if (strongSelf->_keyWebEventHandler.get() != strongHandler.get()) Nit - are both of these .get() needed?
Comment on attachment 399677 [details] Patch r=me as well
Comment on attachment 399677 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399677&action=review >> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:1412 >> + if (strongSelf->_keyWebEventHandler.get() != strongHandler.get()) > > Nit - are both of these .get() needed? As we learned extensively on Slack, yes, because this code is being pretty dirty and WeakObjCPtr<id>-ing the block, and no combination of BlockPtr/WeakObjCPtr on either side make enough implicit conversions that you can drop either get (nor both).
Committed r261838: <https://trac.webkit.org/changeset/261838> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399677 [details].