[wpt-sync] Sync PR 62788 - [webauthn] Test that BufferSource members reject shared buffers
Categories
(Core :: DOM: Web Authentication, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62788 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62788
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
[webauthn] Test that BufferSource members reject shared buffers
None of the BufferSource members of PublicKeyCredentialCreationOptions or PublicKeyCredentialRequestOptions are [AllowShared].
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94258
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 55 tests and 4 subtests
Status Summary
Firefox
OK : 2[GitHub] 54[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 10[GitHub] 379[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 380[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 39[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 40[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
Chrome
OK : 2
PASS: 10
Safari
OK : 2
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webauthn/getcredential-ui-mode-immediate.https.html [wpt.fyi]:
SKIP - /webauthn/conditional-mediation.https.html [wpt.fyi]
- Conditional mediation supported:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Conditional create supported:
FAIL
- Conditional mediation supported:
- /webauthn/createcredential-extensions.https.html [wpt.fyi]
- navigator.credentials.create() with prf requested but no support in authenticator:
FAIL
- navigator.credentials.create() with prf requested but no support in authenticator:
- /webauthn/createcredential-large-blob-not-supported.https.html [wpt.fyi]
- navigator.credentials.create() with largeBlob.support set to preferred and not supported by authenticator:
FAIL - navigator.credentials.create() with largeBlob.support not set and not supported by authenticator:
FAIL - navigator.credentials.create() with largeBlob.support set to required and not supported by authenticator:
FAIL
- navigator.credentials.create() with largeBlob.support set to preferred and not supported by authenticator:
- /webauthn/createcredential-large-blob-supported.https.html [wpt.fyi]
- navigator.credentials.create() with largeBlob.support set to preferred and supported by authenticator:
FAIL - navigator.credentials.create() with largeBlob.support not set and supported by authenticator:
FAIL - navigator.credentials.create() with largeBlob.support set to required and supported by authenticator:
FAIL
- navigator.credentials.create() with largeBlob.support set to preferred and supported by authenticator:
- /webauthn/createcredential-nested-frame.https.html [wpt.fyi]
- navigator.credentials.create({publicKey}) in about:blank embedded in a secure context should succeed.:
FAIL
- navigator.credentials.create({publicKey}) in about:blank embedded in a secure context should succeed.:
- /webauthn/createcredential-prf.https.html [wpt.fyi]
- navigator.credentials.create() with eval:
FAIL
- navigator.credentials.create() with eval:
- /webauthn/createcredential-resident-key.https.html [wpt.fyi]
- CTAP 2.0 with resident key support: navigator.credentials.create() with credProps extension, rk=discouraged:
FAIL
- CTAP 2.0 with resident key support: navigator.credentials.create() with credProps extension, rk=discouraged:
- /webauthn/credblob-not-supported.https.html [wpt.fyi]
- creation requesting credBlob without authenticator support:
FAIL
- creation requesting credBlob without authenticator support:
- /webauthn/credblob-supported.https.html [wpt.fyi]
- assertion without credBlob:
FAIL - assertion with credBlob:
FAIL
- assertion without credBlob:
- /webauthn/getcredential-extensions.https.html [wpt.fyi]
- Payment extension is only supported at registration:
FAIL
- Payment extension is only supported at registration:
- /webauthn/getcredential-large-blob-not-supported.https.html [wpt.fyi]
- navigator.credentials.get() with largeBlob.write set without authenticator support:
FAIL
- navigator.credentials.get() with largeBlob.write set without authenticator support:
- /webauthn/getcredential-large-blob-supported.https.html [wpt.fyi]
- navigator.credentials.get() read and write blob:
FAIL
- navigator.credentials.get() read and write blob:
- /webauthn/getcredential-nested-frame.https.html [wpt.fyi]
- navigator.credentials.get({publicKey}) in about:blank embedded in a secure context should succeed.:
FAIL
- navigator.credentials.get({publicKey}) in about:blank embedded in a secure context should succeed.:
- /webauthn/idlharness.https.window.html [wpt.fyi]
- PublicKeyCredential interface: operation signalUnknownCredential(UnknownCredentialOptions):
FAIL - PublicKeyCredential interface: operation signalAllAcceptedCredentials(AllAcceptedCredentialsOptions):
FAIL - PublicKeyCredential interface: operation signalCurrentUserDetails(CurrentUserDetailsOptions):
FAIL
- PublicKeyCredential interface: operation signalUnknownCredential(UnknownCredentialOptions):
- /webauthn/remote-desktop-client-override.tentative.https.html [wpt.fyi]
- create() with remoteDesktopClientOverride:
FAIL - get() with remoteDesktopClientOverride on an unauthorized site:
FAIL
- create() with remoteDesktopClientOverride:
- /webauthn/signal-all-accepted-credentials.https.html [wpt.fyi]
- signalAllAcceptedCredentials fails with SecurityError for invalid RP IDs:
FAIL - signalAllAcceptedCredentials fails with TypeError for invalid userId base64url:
FAIL - signalAllAcceptedCredentials fails with TypeError for invalid credential base64url:
FAIL - signalAllAcceptedCredentials does not remove a credential for a different user id:
FAIL - signalAllAcceptedCredentials does not remove a credential if present on the list:
FAIL - signalAllAcceptedCredentials removes a credential present on the list for the correct user:
FAIL - signalAllAcceptedCredentials with unrecognized credentials removes existing credential:
FAIL - signalAllAcceptedCredentials with recognized and unrecognized credentials keeps the existing credential:
FAIL
- signalAllAcceptedCredentials fails with SecurityError for invalid RP IDs:
- /webauthn/signal-current-user-details.https.html [wpt.fyi]
- signalCurrentUserDetails fails with SecurityError for invalid RP IDs:
FAIL - signalCurrentUserDetails fails with TypeError for invalid userId base64url:
FAIL - signalCurrentUserDetails does not update a different user id:
FAIL - signalCurrentUserDetails updates a matching user id:
FAIL
- signalCurrentUserDetails fails with SecurityError for invalid RP IDs:
- /webauthn/signal-unknown-credential.https.html [wpt.fyi]
- signalUnknownCredential fails with SecurityError for invalid RP IDs:
FAIL - signalUnknownCredential fails with TypeError for invalid base64url:
FAIL - signalUnknownCredential does not remove a credential that does not match the ID:
FAIL - signalUnknownCredential removes a credential that matches the ID:
FAIL
- signalUnknownCredential fails with SecurityError for invalid RP IDs:
Tests Disabled in Gecko Infrastructure
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•