[Bug 25198] Turn KeyFormat into an enum

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

--- Comment #10 from Mark Watson <watsonm@netflix.com> ---
(In reply to Anne from comment #9)
> A specification extending another specification without that other
> specification needing to be aware of it is rather problematic in my opinion.
> How would an implementer of Web Crypto find out about that other
> specification?

Same way they found out about WebCrypto itself. Such specifications would only
be in scope of the W3C WebCrypto working group.

> 
> E.g. HTML defines the canvas API which has an enumeration for a canvas
> context which is either 2d or webgl. webgl is defined elsewhere, but its
> enumeration is covered by HTML, along with a forward reference. If someone
> were to mint a new context, that would have to go through HTML.

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

Received on Friday, 26 September 2014 17:35:28 UTC