[Webkit-unassigned] [Bug 176077] New: [iOS] REGRESSION (r218144) -[WKContentView targetForAction:withSender:] returns the content view for actions implemented only by the WKWebView, causing a crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 29 15:51:52 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176077

            Bug ID: 176077
           Summary: [iOS] REGRESSION (r218144) -[WKContentView
                    targetForAction:withSender:] returns the content view
                    for actions implemented only by the WKWebView, causing
                    a crash
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: NeedsRadar, Regression
          Severity: Normal
          Priority: P1
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: thorton at apple.com

<https://trac.webkit.org/r218144> made -[WKContentView canPerformAction:withSender:] return YES for actions implemented by the WKWebView, but didn’t take care to override -targetForAction:withSender: to return the WKWebView as well. Without an override, the base implementation returns the WKContentView itself, which then gets sent an unrecognized selector.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170829/2b73f642/attachment.html>


More information about the webkit-unassigned mailing list