<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18525</bug_id>
          
          <creation_ts>2012-08-10 15:50:48 +0000</creation_ts>
          <short_desc>window.crypto can&apos;t be used in webworkers</short_desc>
          <delta_ts>2012-10-22 06:28:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Social Bro">socialbro</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>sleevi</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72042</commentid>
    <comment_count>0</comment_count>
    <who name="Social Bro">socialbro</who>
    <bug_when>2012-08-10 15:50:48 +0000</bug_when>
    <thetext>Why is &quot;crypto&quot; part of &quot;window&quot;? That way webworkers can&apos;t access

window.crypto.getRandomValues();

for example, which would be really useful.

Thanks for reading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72047</commentid>
    <comment_count>1</comment_count>
    <who name="David Dahl">ddahl</who>
    <bug_when>2012-08-10 16:54:01 +0000</bug_when>
    <thetext>There has been some talk about also specifying a synchronous API for web workers. It is too early to tell if this will happen or not. I do think it is a good idea as other DOM APIs are doing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72049</commentid>
    <comment_count>2</comment_count>
    <who name="Social Bro">socialbro</who>
    <bug_when>2012-08-10 17:11:19 +0000</bug_when>
    <thetext>okay, thank you :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76886</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2012-10-22 06:28:03 +0000</bug_when>
    <thetext>Resolved to 2012-10-22 draft. The WorkerCrypto interface has been specified that allows parts of the Crypto interface to be exposed via the WorkerGlobalScope.

See http://www.w3.org/2012/webcrypto/WebCryptoAPI/#WorkerCrypto-interface</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>