[Bug 26322] Definitions "algorithm" and "usages" properties of CryptoKey make no sense

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

--- Comment #6 from Boris Zbarsky <bzbarsky@mit.edu> ---
> What about [ArrayClass] ? If we were to define our usages attribute to follow
> the ImmutableItemList example in WebIDL does the process of creating the object
> implementing that interface call the Array() constructor ?

No, it does not.  All [ArrayClass] means is that you have Array.prototype on
your proto chain.

However, note that there are some compat concerns about using things like that
which are not true Array instances, because of libraries doing weird stuff with
concat().  As a result, Chrome, at least, has been pushing back on implementing
ArrayClass at all.  :(

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

Received on Tuesday, 7 October 2014 02:41:07 UTC