[Bug 25198] Turn KeyFormat into an enum

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

--- Comment #7 from Anne <annevk@annevk.nl> ---
(In reply to Mark Watson from comment #6)
> KeyAlgorithm.name is extensible, though the defined process for registering
> new algorithms and (unless I am mis-understanding) making it an enum would
> interact badly with that extensibility point.

How does the extensibility work? Why can't the specification be revised?


> I believe future specifications could also add new methods to SubtleCrypto,
> which might come with new algorithms and new KeyUsage values, so I suggest
> we leave KeyUsage as a DOMString.

New specification could also simply update the enum, I don't see the problem.

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

Received on Friday, 26 September 2014 15:15:43 UTC