Closed Bug 1812218 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 38158 - webauthn: use SyntaxError for invalid credential IDs.

Categories

(Core :: DOM: Web Authentication, task, P4)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38158 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38158
Details from upstream follow.

Adam Langley <agl@chromium.org> wrote:

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/4193255
WPT-Export-Revision: f67af24e4482b7e6a07e83046541e7b8a5e71746

Component: web-platform-tests → DOM: Web Authentication
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 9 subtests

Status Summary

Firefox

TIMEOUT: 2
NOTRUN : 7

Chrome

OK : 1
PASS : 1
FAIL : 8

Safari

OK : 1
PASS : 1
FAIL : 8

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

  • /webauthn/getcredential-prf.https.html [wpt.fyi]: TIMEOUT (Chrome: OK, Safari: OK)
    • navigator.credentials.get() with single evaluation point: TIMEOUT (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() with two equal evaluation points: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() with two distinct evaluation points: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() using credential ID with one evaluation point: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() using credential ID with two evaluation points: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() using wrong credential ID: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() using invalid base64url credential ID: NOTRUN (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() with an empty allow list but also using evalByCredential: NOTRUN (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d894651debc0 [wpt PR 38158] - webauthn: use SyntaxError for invalid credential IDs., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.