Closed Bug 1620032 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22088 - [webauthn] WPT - correct unrecognized alg error

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Nina Satragno <nsatragno@chromium.org> wrote:

[webauthn] WPT - correct unrecognized alg error

When an authenticator does not support a given algorithm, it returns an
error equivalent to "NotSupportedError". Authenticators returning status
not equivalent to "InvalidStateError" remove authenticators from
issuedRequests, which manifests on a timeout ("NotAllowedError").
Correct the createcredential-pubkeycredparams test to reflect this
behaviour.

Bug: 875444
Change-Id: Ia574ca449cf22ddea1b5f434a61704576ca26fa1
Reviewed-on: https://chromium-review.googlesource.com/2088009
WPT-Export-Revision: 57e0a7904c65afd2b75f819b2a048789e7bf55a8

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

CI Results

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

Total 46 tests

Status Summary

Firefox

OK : 1
PASS: 7[GitHub] 52[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 2

Chrome

OK : 1
PASS: 10

Safari

OK : 1
PASS: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/webauthn/createcredential-pubkeycredparams.https.html
Bad pubKeyCredParams: first param has bad alg (0): FAIL
Bad pubKeyCredParams: first param has bad alg (42): FAIL

New Tests That Don't Pass

/webauthn/createcredential-pubkeycredparams.https.html
Bad pubKeyCredParams: first param has bad alg (0): FAIL (Chrome: PASS, Safari: PASS)
Bad pubKeyCredParams: first param has bad alg (42): FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05beeea815f8 [wpt PR 22088] - [webauthn] WPT - correct unrecognized alg error, a=testonly https://hg.mozilla.org/integration/autoland/rev/723d5ae03e21 [wpt PR 22088] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.