This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22561 - Key.keyUsage is redundant
Summary: Key.keyUsage is redundant
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 19:05 UTC by Eric Roman
Modified: 2013-07-03 23:19 UTC (History)
1 user (show)

See Also:


Attachments

Description Eric Roman 2013-07-03 19:05:32 UTC
The Key interface defines other properties like "type" and "extractable".

The property "keyUsage" repeats the work "key", which is already implied by its scope.

A simpler name would be "usage" (or "usages" since it is a list after all).
Comment 1 Ryan Sleevi 2013-07-03 23:19:55 UTC
Fixed in https://dvcs.w3.org/hg/webcrypto-api/rev/37f65665a51b