<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WKWebView _getWebArchiveDataWithCompletionHandler:] is private."
href="https://bugs.webkit.org/show_bug.cgi?id=157944">157944</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[WKWebView _getWebArchiveDataWithCompletionHandler:] is private.
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>iOS
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 9.3
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit2
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lod@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h">https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>