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

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

--- Comment #26 from Boris Zbarsky <bzbarsky@mit.edu> ---
> is it sufficient simply to reference WebIDL for the conversion

Imo, yes, as long as the thing being converted has an unambiguous Web IDL type
associated with it somehow.

> or do we need to be more specific to convert the data in the internal slot to a
> primitive ECMAScript type

You're returning an IDL type.  Web IDL will then convert it to an ES value the
way you want.  The only reason have to do manual conversion for "algorithm" and
"usages" is that the IDL says "object", which means "already an ES object".

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

Received on Friday, 31 October 2014 03:56:41 UTC