Changeset 235584 in webkit
- Timestamp:
- Sep 1, 2018, 4:14:31 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj (modified) (4 diffs)
-
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewServerTrustKVC.mm (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r235569 r235584 1 2018-09-01 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Crash using KVO for 'serverTrust' property of WKWebView - "this class is not key value coding-compliant for the key serverTrust" 4 https://bugs.webkit.org/show_bug.cgi?id=189222 5 <rdar://problem/33283179> 6 7 Reviewed by Sam Weinig. 8 9 Test: TestWebKitAPI/Tests/WebKitCocoa/WKWebViewServerTrustKVC.mm 10 11 * UIProcess/API/Cocoa/WKWebView.mm: 12 (-[WKWebView valueForUndefinedKey:]): Override to handle the "serverTrust" key, which is not 13 handled automatically by the KVC machinery since the getter’s return type is not an 14 Objective-C type. 15 1 16 2018-08-31 John Wilander <wilander@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
r235560 r235584 819 819 820 820 [super dealloc]; 821 } 822 823 - (id)valueForUndefinedKey:(NSString *)key { 824 if ([key isEqualToString:@"serverTrust"]) 825 return (__bridge id)[self serverTrust]; 826 827 return [super valueForUndefinedKey:key]; 821 828 } 822 829 -
trunk/Tools/ChangeLog
r235578 r235584 1 2018-09-01 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Crash using KVO for 'serverTrust' property of WKWebView - "this class is not key value coding-compliant for the key serverTrust" 4 https://bugs.webkit.org/show_bug.cgi?id=189222 5 <rdar://problem/33283179> 6 7 Reviewed by Sam Weinig. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewServerTrustKVC.mm: Added. 11 (TEST): 12 1 13 2018-08-31 Aditya Keerthi <akeerthi@apple.com> 2 14 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r235474 r235584 143 143 37A709AE1E3EA8B000CA5969 /* BundleRangeHandle.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37A709AD1E3EA8B000CA5969 /* BundleRangeHandle.mm */; }; 144 144 37A709AF1E3EA97E00CA5969 /* BundleRangeHandlePlugIn.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37A709AA1E3EA79000CA5969 /* BundleRangeHandlePlugIn.mm */; }; 145 37A9DBE9213B4C9300D261A2 /* WKWebViewServerTrustKVC.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37A9DBE7213B4C9300D261A2 /* WKWebViewServerTrustKVC.mm */; }; 145 146 37B47E301D64E7CA005F4EFF /* WKObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37B47E2E1D64E7CA005F4EFF /* WKObject.mm */; }; 146 147 37BCA61C1B596BA9002012CA /* ShouldOpenExternalURLsInNewWindowActions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37BCA61B1B596BA9002012CA /* ShouldOpenExternalURLsInNewWindowActions.mm */; }; … … 1398 1399 37A709AC1E3EA7E800CA5969 /* BundleRangeHandleProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BundleRangeHandleProtocol.h; sourceTree = "<group>"; }; 1399 1400 37A709AD1E3EA8B000CA5969 /* BundleRangeHandle.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = BundleRangeHandle.mm; sourceTree = "<group>"; }; 1401 37A9DBE7213B4C9300D261A2 /* WKWebViewServerTrustKVC.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebViewServerTrustKVC.mm; sourceTree = "<group>"; }; 1400 1402 37B47E2E1D64E7CA005F4EFF /* WKObject.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKObject.mm; sourceTree = "<group>"; }; 1401 1403 37BCA61B1B596BA9002012CA /* ShouldOpenExternalURLsInNewWindowActions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ShouldOpenExternalURLsInNewWindowActions.mm; sourceTree = "<group>"; }; … … 2445 2447 0F3B94A51A77266C00DE3272 /* WKWebViewEvaluateJavaScript.mm */, 2446 2448 D3BE5E341E4CE85E00FD563A /* WKWebViewGetContents.mm */, 2449 37A9DBE7213B4C9300D261A2 /* WKWebViewServerTrustKVC.mm */, 2447 2450 93F56DA81E5F9181003EDE84 /* WKWebViewSnapshot.mm */, 2448 2451 9984FACA1CFFAEEE008D198C /* WKWebViewTextInput.mm */, … … 4069 4072 D34E08761E4E42E1005FF14A /* WKWebViewGetContents.mm in Sources */, 4070 4073 F4FA91811E61849B007B8C1D /* WKWebViewMacEditingTests.mm in Sources */, 4074 37A9DBE9213B4C9300D261A2 /* WKWebViewServerTrustKVC.mm in Sources */, 4071 4075 93F56DA91E5F919D003EDE84 /* WKWebViewSnapshot.mm in Sources */, 4072 4076 9984FACC1CFFAF60008D198C /* WKWebViewTextInput.mm in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.