[Bug 25386] New: Arrays and iterables

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25386

            Bug ID: 25386
           Summary: Arrays and iterables
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: annevk@annevk.nl
                CC: dherman@mozilla.com, domenic@domenicdenicola.com,
                    public-webcrypto@w3.org

Several methods take "KeyUsage[] keyUsages" as argument. That should really be
sequence there: "sequence<KeyUsage> keyUsages"

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 18 April 2014 07:53:37 UTC