Bug 157944 - [WKWebView _getWebArchiveDataWithCompletionHandler:] is private.
Summary: [WKWebView _getWebArchiveDataWithCompletionHandler:] is private.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 9.3
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-20 08:46 PDT by lod
Modified: 2016-05-20 22:07 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lod 2016-05-20 08:46:56 PDT
WKWebView provides no way of saving current web page content in public API. There is a private method that provides this functionality. We would like to use this functionality.

For example, see WKWebViewPrivate.h on WebKit mirror on github:
https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h

Steps to Reproduce:
Load a web page in WKWebView. Try to save its contents using public API.

Expected Results:
There is an API that does this, for example a public version of _getWebArchiveDataWithCompletionHandler:.

Actual Results:
There is no such public API.

Version:
iOS 9.3.2

Notes:
GOOGLER:lod


Configuration:
iPhone 6s.
Comment 1 lod 2016-05-20 08:47:11 PDT
rdar://26391219