This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
https://dvcs.w3.org/hg/webcrypto-api/rev/c502effc79d5
Where was the prose added for usages?
Anne, What prose, in particular, were you expecting? The input argument, being sequence<>, 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.
Looks good, thanks. I missed the [[usages]] refactoring in the above commit and assumed it wasn't made.