<?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>25386</bug_id>
          
          <creation_ts>2014-04-18 07:53:36 +0000</creation_ts>
          <short_desc>Arrays and iterables</short_desc>
          <delta_ts>2014-06-17 06:11:45 +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>PC</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>d</cc>
    
    <cc>dherman</cc>
    
    <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104070</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-18 07:53:36 +0000</bug_when>
    <thetext>Several methods take &quot;KeyUsage[] keyUsages&quot; as argument. That should really be sequence there: &quot;sequence&lt;KeyUsage&gt; keyUsages&quot;

It should accept any JavaScript iterable, not just IDL-arrays (which are going away).


The usage in https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#dfn-Key you want to turn into either returning a readonly frozen array or a method that returns a snapshot, not sure if the TAG reached any conclusions yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107884</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-06-16 23:12:41 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcrypto-api/rev/c502effc79d5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107916</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-17 05:36:30 +0000</bug_when>
    <thetext>Where was the prose added for usages?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107918</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-06-17 05:48:49 +0000</bug_when>
    <thetext>Anne,

What prose, in particular, were you expecting?

The input argument, being sequence&lt;&gt;, should address the WebIDL conversion issues raised with [].

The exposure of this, as an attribute, has now been handled as part of the overall treatment/conversion of KeyAlgorithm to a dictionary (ergo ES object), rather than as an IDL interface.

If there are concerns still unaddressed, let me know, as I believe the issue raised was addressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107919</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-17 06:11:45 +0000</bug_when>
    <thetext>Looks good, thanks. I missed the [[usages]] refactoring in the above commit and assumed it wasn&apos;t made.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>