[Webkit-unassigned] [Bug 189222] New: [Cocoa] Crash using KVO for 'serverTrust' property of WKWebView - "this class is not key value coding-compliant for the key serverTrust"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 1 15:55:35 PDT 2018


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

            Bug ID: 189222
           Summary: [Cocoa] Crash using KVO for 'serverTrust' property of
                    WKWebView - "this class is not key value
                    coding-compliant for the key serverTrust"
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org

<rdar://problem/33283179>

WKWebView.h says that the class is key-value observing (KVO) compliant for the serverTrust property, and the implementation correctly reports changes to the property’s value, but it fails to make the property key value coding-complaint, so trying to get it using -valueForKey: either directly or as a side-effect of using specifying NSKeyValueObservingOptionNew or NSKeyValueObservingOptionOld results in an exception.

Patch forthcoming.

-- 
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/20180901/d2ec1595/attachment.html>


More information about the webkit-unassigned mailing list