This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
HmacDerivedKeyParams derives from HmacImportParams but defines the |length| property again. Can't we just let it derive without defining the property a second time? Or we could let it derive from Algorithm and define |hash| again which would also be redundant. dictionary HmacImportParams : Algorithm { HashAlgorithmIdentifier hash; [EnforceRange] unsigned long length; }; dictionary HmacDerivedKeyParams : HmacImportParams { [EnforceRange] unsigned long length; };
Seems reasonable to drop the length property from the derived dictionary.
https://dvcs.w3.org/hg/webcrypto-api/rev/dc8073493900