[wpt-sync] Sync PR 57557 - Digital Credentials: at least one presentation protocol is supported
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox155 fixed)
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 57557 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/57557
Details from upstream follow.
Marcos Caceres <caceres_m@apple.com> wrote:
Digital Credentials: at least one presentation protocol is supported
Test for https://github.com/w3c-fedid/digital-credentials/pull/454/
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5927ae19d8ac72fff8d9f34c68762a6348e90d53
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 28 tests and 4 subtests
Status Summary
Firefox
OK : 1[GitHub] 27[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 28[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PASS: 63[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 74[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
FAIL: 4[GitHub] 68[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 75[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 4
Safari
OK : 1
PASS: 1
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /digital-credentials/user-agent-allows-protocol.https.html [wpt.fyi]
- Presentation protocol support: org-iso-mdoc:
FAIL
- Presentation protocol support: org-iso-mdoc:
New Tests That Don't Pass
- /digital-credentials/create.tentative.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]- navigator.credentials.create() API rejects if there are no credential request.:
FAIL - navigator.credentials.create() API rejects if there are no credential request in cross-origin iframe.:
FAIL requestsfield is required in the options object.:FAIL- Throws when form element does not contain password.:
FAIL - navigator.credentials.create() with one unknown protocol with malformed data and one known protocol with proper data should skip the unknown one and not fail.:
FAIL - All unsupported protocols filtered results in TypeError.:
FAIL - Multiple unsupported protocols all filtered results in TypeError.:
FAIL
- navigator.credentials.create() API rejects if there are no credential request.:
- /digital-credentials/webdriver/create.https.html [wpt.fyi]
- navigator.credentials.create() with respond mode should resolve with the specified data.:
FAIL - navigator.credentials.create() with complex data response should resolve with structured data.:
FAIL - navigator.credentials.create() with decline mode should reject with NotAllowedError.:
FAIL - navigator.credentials.create() with wait mode should remain pending until aborted.:
FAIL
- navigator.credentials.create() with respond mode should resolve with the specified data.:
- /digital-credentials/webdriver/get-mdoc.https.html [wpt.fyi]
- navigator.credentials.get() with respond mode should resolve with the specified data.:
FAIL - navigator.credentials.get() with complex data response should resolve with structured data.:
FAIL - navigator.credentials.get() with decline mode should reject with NotAllowedError.:
FAIL - navigator.credentials.get() with wait mode should reject with the abort reason when aborted.:
FAIL
- navigator.credentials.get() with respond mode should resolve with the specified data.:
- /digital-credentials/webdriver/get-openid4vp.https.html [wpt.fyi]
- navigator.credentials.get() with respond mode should resolve with the specified data.:
FAIL - navigator.credentials.get() with complex data response should resolve with structured data.:
FAIL - navigator.credentials.get() with decline mode should reject with NotAllowedError.:
FAIL - navigator.credentials.get() with wait mode should reject with the abort reason when aborted.:
FAIL
- navigator.credentials.get() with respond mode should resolve with the specified data.:
- /digital-credentials/concurrent-requests.https.html [wpt.fyi]
- A second get() call while another is pending should reject with NotAllowedError.:
FAIL - A concurrent get() rejection is queued on the DOM manipulation task source, not settled synchronously.:
FAIL
- A second get() call while another is pending should reject with NotAllowedError.:
- /digital-credentials/create-enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]
- Permissions-Policy header explicitly set to digital-credentials-create=(self) cannot be overridden by allow attribute.:
FAIL
- Permissions-Policy header explicitly set to digital-credentials-create=(self) cannot be overridden by allow attribute.:
- /digital-credentials/create-non-fully-active.https.html [wpt.fyi]
- non-fully active document behavior for navigator.credentials.create():
FAIL - Promise rejects with DOMException when the document becomes non-fully active:
FAIL - Aborted Digital Credentials create() requests do not leave a subsequent request stuck in an invalid state:
FAIL
- non-fully active document behavior for navigator.credentials.create():
- /digital-credentials/create.disabled-by-permissions-policy.https.sub.html [wpt.fyi]
- Permissions-Policy header digital-credentials-create=() disallows the top-level document.:
FAIL - Permissions-Policy header digital-credentials-create=() disallows same-origin iframes.:
FAIL - Permissions-Policy header digital-credentials-create=() cannot be overridden using the allow attribute.:
FAIL
- Permissions-Policy header digital-credentials-create=() disallows the top-level document.:
- /digital-credentials/digital-credentials-static-methods.tentative.https.html [wpt.fyi]
- check default isConditionalMediationAvailable() behavior, inherited from Credential interface.:
FAIL
- check default isConditionalMediationAvailable() behavior, inherited from Credential interface.:
- /digital-credentials/get-enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]
- Permissions-Policy header explicitly set to digital-credentials-get=(self) cannot be overridden by allow attribute.:
FAIL
- Permissions-Policy header explicitly set to digital-credentials-get=(self) cannot be overridden by allow attribute.:
- /digital-credentials/get-non-fully-active.https.html [wpt.fyi]
- non-fully active document behavior for navigator.credentials.get():
FAIL - Promise rejects with DOMException when the document becomes non-fully active:
FAIL - Aborted Digital Credentials get() requests do not leave a subsequent request stuck in an invalid state:
FAIL
- non-fully active document behavior for navigator.credentials.get():
- /digital-credentials/get-opaque-origin-combinations.https.html [wpt.fyi]
- get() from an opaque origin (sandboxed iframe) rejects with SecurityError:
FAIL - get() from an opaque origin (sandboxed srcdoc iframe) rejects with SecurityError:
FAIL - get() from an opaque origin (iframe whose document has a Content-Security-Policy: sandbox header) rejects with SecurityError:
FAIL - get() from an opaque origin (plain iframe nested inside a sandboxed iframe (2 levels)) rejects with SecurityError:
FAIL - get() from an opaque origin (plain iframes nested two deep inside a sandboxed iframe (3 levels)) rejects with SecurityError:
FAIL - get() from an opaque origin (allow-same-origin iframe nested inside a sandboxed iframe) rejects with SecurityError:
FAIL - get() in a data: iframe is unavailable (not a secure context) and never reaches the opaque-origin check:
FAIL - get() in a blob: iframe created inside a sandboxed frame inherits the opaque origin and is unavailable:
FAIL
- get() from an opaque origin (sandboxed iframe) rejects with SecurityError:
- /digital-credentials/get-opaque-origin-top-level-allow-same-origin.https.html [wpt.fyi]
- get() from a top-level sandboxed page with allow-same-origin is not rejected as opaque:
FAIL
- get() from a top-level sandboxed page with allow-same-origin is not rejected as opaque:
- /digital-credentials/get-opaque-origin-top-level.https.html [wpt.fyi]
- navigator.credentials.get() from a top-level opaque origin rejects with SecurityError:
FAIL
- navigator.credentials.get() from a top-level opaque origin rejects with SecurityError:
- /digital-credentials/get.disabled-by-permissions-policy.https.sub.html [wpt.fyi]
- Permissions-Policy header digital-credentials-get=() disallows the top-level document.:
FAIL - Permissions-Policy header digital-credentials-get=() disallows same-origin iframes.:
FAIL - Permissions-Policy header digital-credentials-get=() cannot be overridden using the allow attribute.:
FAIL
- Permissions-Policy header digital-credentials-get=() disallows the top-level document.:
- /digital-credentials/get.https.html [wpt.fyi]
- navigator.credentials.get() API rejects if there are no credential request.:
FAIL - navigator.credentials.get() API rejects if there are no credential request in cross-origin iframe.:
FAIL - Mediation is implicitly required and hence ignored. Request is aborted regardless.:
FAIL - navigator.credentials.get() with one unknown protocol with malformed data and one known protocol with proper data should skip the unknown one and not fail.:
FAIL - navigator.credentials.get() with good requests at the start and end should skip the bogus ones and not fail.:
FAIL - navigator.credentials.get() with bogus requests at both ends should skip them and not fail.:
FAIL
- navigator.credentials.get() API rejects if there are no credential request.:
- /digital-credentials/protocol-filtering-mdoc.https.html [wpt.fyi]
- Protocol matching is case sensitive - 'ORG-ISO-MDOC' filtered:
FAIL - Empty protocol string is filtered out:
FAIL - Protocol with leading whitespace is filtered out:
FAIL - Protocol with trailing whitespace is filtered out:
FAIL - Partial protocol match 'org-iso' is filtered out:
FAIL - Protocol with invalid characters 'org_iso_mdoc' is filtered out:
FAIL - Unknown protocol 'unknown-protocol' is filtered out:
FAIL
- Protocol matching is case sensitive - 'ORG-ISO-MDOC' filtered:
- /digital-credentials/protocol-filtering-openid4vp.https.html [wpt.fyi]
- Filtered: 'openid4vp' (bare identifier without version or mode):
FAIL - Filtered: 'openid4vp-v1' (version without mode):
FAIL - Filtered: 'openid4vp-v2-unsigned' (wrong version number):
FAIL - Filtered: 'openid4vp-v1-unknown' (valid prefix with unknown mode):
FAIL - Filtered: 'OPENID4VP-V1-UNSIGNED' (uppercase variant):
FAIL - Filtered: 'Openid4vp-V1-Unsigned' (mixed case variant):
FAIL - Filtered: ' openid4vp-v1-unsigned' (leading whitespace):
FAIL - Filtered: 'openid4vp-v1-unsigned ' (trailing whitespace):
FAIL - Filtered: 'openid4vp-v1-unsigned ' (trailing tab):
FAIL - Filtered: 'openid4vp_v1_unsigned' (underscores instead of hyphens):
FAIL
- Filtered: 'openid4vp' (bare identifier without version or mode):
- /digital-credentials/user-activation-create.tentative.https.html [wpt.fyi]
- navigator.credentials.create() with empty protocol array and no user activation needed should reject with TypeError.:
FAIL
- navigator.credentials.create() with empty protocol array and no user activation needed should reject with TypeError.:
- /digital-credentials/user-activation-get.https.html [wpt.fyi]
- navigator.credentials.get() with empty protocol array and no user activation needed should reject with TypeError.:
FAIL
- navigator.credentials.get() with empty protocol array and no user activation needed should reject with TypeError.:
- /digital-credentials/user-agent-allows-protocol.https.html [wpt.fyi]
- Presentation protocol support: org-iso-mdoc:
FAIL(Chrome:PASS, Safari:PASS) - Presentation protocol support: openid4vp-v1-signed:
FAIL(Chrome:PASS, Safari:FAIL) - Presentation protocol support: openid4vp-v1-multisigned:
FAIL(Chrome:PASS, Safari:FAIL) - Presentation protocol support: openid4vp-v1-unsigned:
FAIL(Chrome:PASS, Safari:FAIL)
- Presentation protocol support: org-iso-mdoc:
Tests Disabled in Gecko Infrastructure
- /digital-credentials/create.tentative.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eba1d5dbc5c3
https://hg.mozilla.org/mozilla-central/rev/c087260f1b9d
Description
•