Changeset 160626 in webkit
- Timestamp:
- Dec 15, 2013 8:04:10 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160621 r160626 1 2013-12-15 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Expose the certificate chain for the main frame 4 https://bugs.webkit.org/show_bug.cgi?id=125760 5 6 Reviewed by Sam Weinig. 7 8 * UIProcess/API/Cocoa/WKBrowsingContextController.h: Declared certificateChain property. 9 * UIProcess/API/Cocoa/WKBrowsingContextController.mm: 10 (-[WKBrowsingContextController certificateChain]): Added this getter, which calls through 11 to WebFrameProxy::certificateInfo. 12 1 13 2013-12-15 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.h
r160604 r160626 134 134 @property(readonly) NSString *title; 135 135 136 @property (readonly) NSArray *certificateChain; 136 137 137 138 #pragma mark Zoom -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm
r160602 r160626 44 44 #import "WKURLRequestNS.h" 45 45 #import "WKURLResponseNS.h" 46 #import "WebCertificateInfo.h" 46 47 #import "WebContext.h" 47 48 #import "WebData.h" … … 358 359 { 359 360 return _page->pageLoadState().title(); 361 } 362 363 - (NSArray *)certificateChain 364 { 365 if (WebFrameProxy* mainFrame = _page->mainFrame()) 366 return mainFrame->certificateInfo() ? (NSArray *)mainFrame->certificateInfo()->certificateInfo().certificateChain() : nil; 367 368 return nil; 360 369 } 361 370
Note: See TracChangeset
for help on using the changeset viewer.