Commit 32c2bc9d authored by Adam Langley's avatar Adam Langley Committed by moz-wptsync-bot
Browse files

Bug 1812218 [wpt PR 38158] - webauthn: use SyntaxError for invalid credential IDs., a=testonly

Automatic update from web-platform-tests
webauthn: use SyntaxError for invalid credential IDs.

This reflects the discussion on the PR:
https://github.com/w3c/webauthn/pull/1836#discussion_r1069668151

Bug: 1106961
Change-Id: If68bd707a6aadfaf0e6de87e80b82de38396b9a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193255


Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: default avatarNina Satragno <nsatragno@chromium.org>
Auto-Submit: Adam Langley <agl@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1097056}

--

wpt-commits: 140e56a596b9f8ffa33916bbbbf36d4f5c58afa8
wpt-pr: 38158
parent b660b3ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ standardSetup(async function(authenticator) {
      first: new Uint8Array([1,2,3,4]).buffer,
    };
    return promise_rejects_dom(
      t, "NotSupportedError", assert(id, {evalByCredential: byCred }));
      t, "SyntaxError", assert(id, {evalByCredential: byCred }));
  }, "navigator.credentials.get() using invalid base64url credential ID");

  promise_test(async t => {