Skip to content

Commit

Permalink
File report on Enum values that ignore naming conventions in Web Auth…
Browse files Browse the repository at this point in the history
…entication: An API for accessing Public Key Credentials - Level 3
  • Loading branch information
strudy-bot authored and dontcallmedom committed Aug 30, 2024
1 parent 33c4682 commit ec41d54
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions issues/webauthn-3-wrongcaseenumvalue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
Title: >-
Enum values that ignore naming conventions in Web Authentication: An API for
accessing Public Key Credentials - Level 3
Tracked: N/A
Repo: 'https://github.com/w3c/webauthn'
---

While crawling [Web Authentication: An API for accessing Public Key Credentials - Level 3](https://w3c.github.io/webauthn/), the following enum values were found to ignore naming conventions (lower case, hyphen separated words):
* [ ] The value `"conditionalCreate"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"conditionalGet"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"hybridTransport"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"passkeyPlatformAuthenticator"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"userVerifyingPlatformAuthenticator"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"relatedOrigins"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"signalAllAcceptedCredentials"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"signalCurrentUserDetails"` of the enum `ClientCapability` does not match the expected conventions (lower case, hyphen separated words)
* [ ] The value `"signalUnknownCredential"` of the enum `ClientCapability` 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>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 ec41d54

Please sign in to comment.