<html>
<head>
<base href="https://bugs.webkit.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:yury.stro@gmail.com" title="Yury Strozhevsky <yury.stro@gmail.com>"> <span class="fn">Yury Strozhevsky</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Exception when trying to get self.crypto.webkitSubtle in WebWorker"
href="https://bugs.webkit.org/show_bug.cgi?id=170446">bug 170446</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>WONTFIX
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Exception when trying to get self.crypto.webkitSubtle in WebWorker"
href="https://bugs.webkit.org/show_bug.cgi?id=170446#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Exception when trying to get self.crypto.webkitSubtle in WebWorker"
href="https://bugs.webkit.org/show_bug.cgi?id=170446">bug 170446</a>
from <span class="vcard"><a class="email" href="mailto:yury.stro@gmail.com" title="Yury Strozhevsky <yury.stro@gmail.com>"> <span class="fn">Yury Strozhevsky</span></a>
</span></b>
<pre>Alexey, seems you misunderstand the issue. I have an exception during getting a value of existing property for "self.crypto". It is not during using the webkitSubtle, but just while getting value.
So, even if it "wasn't supported in the past" this is a bug. No it is a BUG - you have a property of standard system object but no one could even read the property value without exception.
In fact I do not have old Safari for testing, but I had Safari working with this code inside WebWroker (it is from PKI.js library, <a href="https://github.com/PeculiarVentures/PKI.js/blob/master/src/common.js#L46">https://github.com/PeculiarVentures/PKI.js/blob/master/src/common.js#L46</a>):
if("webkitSubtle" in self.crypto)
{
subtleObject = self.crypto.webkitSubtle;
engineName = "safari";
}
So, please fix the bug - it is a real bug. And I do believe it is easy to fix.</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>