[Webkit-unassigned] [Bug 170446] Exception when trying to get self.crypto.webkitSubtle in WebWorker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 4 23:15:03 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170446

Yury Strozhevsky <yury.stro at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #2 from Yury Strozhevsky <yury.stro at gmail.com> ---
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, https://github.com/PeculiarVentures/PKI.js/blob/master/src/common.js#L46):
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170405/5d5d102f/attachment.html>


More information about the webkit-unassigned mailing list