Skip to content

Commit

Permalink
File report on Enum values that ignore naming conventions in Web Cryp…
Browse files Browse the repository at this point in the history
…tography API (#712)
  • Loading branch information
dontcallmedom-bot committed Sep 9, 2024
1 parent 980a6f7 commit 7b83697
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions issues/WebCryptoAPI-wrongcaseenumvalue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
Title: Enum values that ignore naming conventions in Web Cryptography API
Tracked: Widely deployed, unlikely to change at this point
Repo: 'https://github.com/w3c/webcrypto'
---

While crawling [Web Cryptography API](https://w3c.github.io/webcrypto/), the following enum values were found to ignore naming conventions (lower case, hyphen separated words):
* [ ] The value `"deriveKey"` of the enum `KeyUsage` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"deriveBits"` of the enum `KeyUsage` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"wrapKey"` of the enum `KeyUsage` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"unwrapKey"` of the enum `KeyUsage` does not match the expected conventions (lower case, hyphen separated words)

See [Use casing rules consistent with existing APIs](https://w3ctag.github.io/design-principles/#casing-rules) in Web Platform Design Principles document for guidance.

<sub>Cc @dontcallmedom @tidoust</sub>

<sub>This issue was detected and reported semi-automatically by [Strudy](https://github.com/w3c/strudy/) based on data collected in [webref](https://github.com/w3c/webref/).</sub>

0 comments on commit 7b83697

Please sign in to comment.