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

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

--- Comment #11 from Mark Watson <watsonm@netflix.com> ---
Ok, good.

So, what I suggest then is that we modify our text so that what is placed into
the [[algorithm]] and [[usages]] internal slots when a CryptoKey is created are
a frozen JS object and frozen Array respectively.

For [[algorithm]] this object is obtained by IDL type conversion from a
Dictionary.

For [[usages]] we will explicitly state the values of the members of the Array.

The algorithm and usages attributes, rather than 'reflecting' the contents of
the ... internal slot will simply 'return' the contents of that slot.

I guess we should then refer to 'properties' of the [[algorithm]] internal slot
rather than 'members'.

Does this work ? Is there a reference we should use for the process of
'freezing' an object ?

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

Received on Wednesday, 8 October 2014 15:47:30 UTC