Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests of duplicate PublicKeyCredentialHint values #48096

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emlun
Copy link

@emlun emlun commented Sep 11, 2024

This relates to WebAuthn PR #2145:

And in turn WebAuthn issue #2134: "Clarify behaviour of duplicate hints"

This relates to WebAuthn PR web-platform-tests#2145: w3c/webauthn#2145

And in turn WebAuthn issue web-platform-tests#2134: "Clarify behaviour of duplicate hints"
w3c/webauthn#2135
@@ -45,7 +46,7 @@ test(() => {
],
// The spec defaults the following fields:
attestation: "none",
hints: [],
hints: ["duplicated-value", "duplicated-value"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change means we no longer test the default for the hints field. If we think there's value in testing this, we should have a separate parseCreationOptionsFromJSON call with the duplicate values instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants