Changeset 230505 in webkit
- Timestamp:
- Apr 10, 2018 5:41:09 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r230500 r230505 1 2018-04-10 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Fix availability annotations for _WKAttachment SPI 4 https://bugs.webkit.org/show_bug.cgi?id=184473 5 <rdar://problem/39319732> 6 7 Reviewed by Dan Bernstein. 8 9 _WKAttachmentInfo is available in WK_MAC_TBA and WK_IOS_TBA, but the SPI method -[_WKAttachment requestInfo:] 10 is currently available in macOS 10.13.4 and iOS 11.3. Instead, the availability of this SPI should match the 11 availability of the SPI object it depends on. 12 13 * UIProcess/API/Cocoa/_WKAttachment.h: 14 1 15 2018-04-10 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.h
r230121 r230505 53 53 WK_CLASS_AVAILABLE(macosx(10.13.4), ios(11.3)) 54 54 @interface _WKAttachment : NSObject 55 - (void)requestInfo:(void(^)(_WKAttachmentInfo * _Nullable, NSError * _Nullable))completionHandler ;55 - (void)requestInfo:(void(^)(_WKAttachmentInfo * _Nullable, NSError * _Nullable))completionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 56 56 - (void)requestData:(void(^)(NSData * _Nullable, NSError * _Nullable))completionHandler; 57 57 - (void)setDisplayOptions:(_WKAttachmentDisplayOptions *)options completion:(void(^ _Nullable)(NSError * _Nullable))completionHandler;
Note: See TracChangeset
for help on using the changeset viewer.