Skip to content

digital-credentials: test conditional mediation rejects with TypeError#59087

Open
marcoscaceres wants to merge 1 commit intomasterfrom
dc-conditional-mediation-typeerror
Open

digital-credentials: test conditional mediation rejects with TypeError#59087
marcoscaceres wants to merge 1 commit intomasterfrom
dc-conditional-mediation-typeerror

Conversation

@marcoscaceres
Copy link
Copy Markdown
Contributor

Per Credential Management spec step 8a, conditional mediation is not supported for digital credentials and must reject with TypeError.

This PR:

  • Removes "conditional" from the mediation-ignored test loop (it's not ignored — it's rejected)
  • Adds a dedicated test verifying that navigator.credentials.get() with mediation: "conditional" and a digital member rejects with TypeError

Related spec PR: w3c-fedid/digital-credentials#419

Per Credential Management spec step 8a, conditional mediation is not
supported for digital credentials and must reject with TypeError.

Remove 'conditional' from the mediation-ignored test loop and add a
dedicated test that verifies the TypeError rejection.
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.

3 participants