<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 - Regression tests cannot load video over HTTPS with self-signed certificate"
href="https://bugs.webkit.org/show_bug.cgi?id=155132">155132</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression tests cannot load video over HTTPS with self-signed certificate
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Tools / Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dbates@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lforschler@apple.com
</td>
</tr></table>
<p>
<div>
<pre>The test LayoutTests/http/tests/security/contentSecurityPolicy/video-with-https-url-allowed-by-csp-media-src-star.html, included in the <span class=""><a href="attachment.cgi?id=273068&action=diff" name="attach_273068" title="Patch and Layout Tests">attachment #273068</a> <a href="attachment.cgi?id=273068&action=edit" title="Patch and Layout Tests">[details]</a></span> (<a class="bz_bug_link
bz_status_NEW "
title="NEW - CSP: Source '*' should not match URLs with schemes blob, data, or filesystem"
href="show_bug.cgi?id=154122">bug #154122</a>), fails when run using run-webkit-tests on OS X 10.11.3 (15D19) with the following console output:
3/7/16 1:49:58.938 PM com.apple.WebKit.WebContent.Development[63455]: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
3/7/16 1:49:58.940 PM com.apple.WebKit.WebContent.Development[63455]: [13:49:58.940] HTTPRequest figHttpRequestDidFailCallback: Network error: domain=kCFErrorDomainCFNetwork, code=-1202, Error Domain=kCFErrorDomainCFNetwork Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be �127.0.0.1� which could put your confidential information at risk." UserInfo={NSErrorFailingURLStringKey=<a href="https://127.0.0.1:8443/media-resources/content/test.mp4">https://127.0.0.1:8443/media-resources/content/test.mp4</a>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, kCFStreamPropertySSLPeerCertificates=(
"<SecCertificate 0x7fd872b85bc0 [0x7fff7ae80440]>"
), _kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrust 0x7fd872b87310 [0x7fff7ae80440]>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be �127.0.0.1� which could put your confidential information at risk., _kCFStreamErrorDomainKey=3, NSErrorFailingURLKey=<a href="https://127.0.0.1:8443/media-resources/content/test.mp4">https://127.0.0.1:8443/media-resources/content/test.mp4</a>, _kCFStreamErrorCodeKey=-9813} for <a href="https://127.0.0.1:8443/media-resources/content/test.mp4">https://127.0.0.1:8443/media-resources/content/test.mp4</a>
Notice that the certificate for <a href="https://127.0.0.1:8443">https://127.0.0.1:8443</a> is a self-signed certificate.</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>