This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Key creations methods take as input a KeyUsage[]. This KeyUsage[] is also reflected back in the created Key.keyUsage. ==> What normalization steps is the user agent allowed to perform on the reflected Key.keyUsage object? It would convenient if neither order, nor duplicates had to be preserved, so internally a set could be used (for instance a bitfield).
From Shenzhen F2F, MichaelH: Will specify that usages are sorted (in some form) for syntactic sugar purposes.
I propose to specify that what is reflected is de-duplicated and sorted in the order the usages are listed in the list of recognized key usage algorithms.
Changeset ca494eeb8ddf