<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 should expose API for download of a file."
href="https://bugs.webkit.org/show_bug.cgi?id=158801">158801</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>WKWebView should expose API for download of a file.
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</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>michaeldo@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>Summary:
Files can't be downloaded from WKWebView if the file is behind a login wall, as the cookies in WKWebView are unavailable.
Steps to Reproduce:
1. Create a WKWebView application.
2. Attempt to download a file which is protected by authentication into the application Documents directory.
Expected Results:
File can be downloaded.
NOTE: _WKNavigationActionPolicyDownload is defined privately in WebKit2, but it is not exposed in the public WKNavigationDelegate.
Actual Results:
Authentication to file fails.
Version:
iOS 9.3.2 (13F69)
radar://26818508</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>