[Webkit-unassigned] [Bug 195999] New: Compilation broken in WKWebViewGetContents.mm with iOS SDK (rev 243195)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 20 06:30:56 PDT 2019


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

            Bug ID: 195999
           Summary: Compilation broken in WKWebViewGetContents.mm with iOS
                    SDK (rev 243195)
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olivierrobin at chromium.org
                CC: lforschler at apple.com

Compilation is broken with error 

webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm:60:14: error: '_getContentsAsAttributedStringWithCompletionHandler:' is unavailable: not available on iOS
    [webView _getContentsAsAttributedStringWithCompletionHandler:^(NSAttributedString *attributedString, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *documentAttributes, NSError *error) {
             ^
In file included from webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm:30:
In file included from webkit/Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.h:28:
In file included from /webkit/WebKitBuild/Debug-iphonesimulator/WebKit.framework/PrivateHeaders/WKNavigationDelegatePrivate.h:29:
/WebKitBuild/Debug-iphonesimulator/WebKit.framework/PrivateHeaders/WKWebViewPrivate.h:367:1: note: '_getContentsAsAttributedStringWithCompletionHandler:' has been explicitly marked
      unavailable here
- (void)_getContentsAsAttributedStringWithCompletionHandler:(void (^)(NSAttributedString *, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *, NSError *))completionHandler API_AVAILABLE(macosx(NA), ios(NA));
^
1 error generated.

-- 
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/20190320/9318ba2e/attachment.html>


More information about the webkit-unassigned mailing list