Closed Bug 2014339 Opened 9 months ago Closed 3 months ago

[wpt-sync] Sync PR 57557 - Digital Credentials: at least one presentation protocol is supported

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
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/

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

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
    • requests field 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
  • /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
  • /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
  • /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
  • /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
  • /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
  • /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
  • /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
  • /digital-credentials/digital-credentials-static-methods.tentative.https.html [wpt.fyi]
    • check default isConditionalMediationAvailable() behavior, inherited from Credential interface.: FAIL
  • /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
  • /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
  • /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
  • /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
  • /digital-credentials/get-opaque-origin-top-level.https.html [wpt.fyi]
    • navigator.credentials.get() from a top-level opaque origin rejects with SecurityError: FAIL
  • /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
  • /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
  • /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
  • /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
  • /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
  • /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
  • /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)

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]
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.