Closed Bug 1918344 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 48117 - Drop identity CredentialContainer, use navigator.credentials instead

Categories

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

task

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Marcos Caceres <caceres_m@apple.com> wrote:

Drop identity CredentialContainer, use navigator.credentials instead

Tests for https://github.com/WICG/digital-credentials/pull/164

CI Results

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

Total 9 tests and 1 subtests

Status Summary

Firefox

OK : 5
PASS : 2[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 3[GitHub]
FAIL : 13[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 22[GitHub]
TIMEOUT: 8
NOTRUN : 16

Chrome

OK : 5
PASS : 2
FAIL : 23
TIMEOUT: 8
NOTRUN : 16

Safari

OK : 5
PASS : 10
FAIL : 17
TIMEOUT: 8
NOTRUN : 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /digital-credentials/allow-attribute.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Policy to use: null, is cross-origin: false, is allowed by policy: true: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Policy to use: null, is cross-origin: true, is allowed by policy: false: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get, is cross-origin: false, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get, is cross-origin: true, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get *, is cross-origin: false, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get *, is cross-origin: true, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get 'none', is cross-origin: false, is allowed by policy: false: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get 'none', is cross-origin: true, is allowed by policy: false: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get 'self', is cross-origin: false, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get 'self', is cross-origin: true, is allowed by policy: false: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get https://www1.web-platform.test:8443, is cross-origin: false, is allowed by policy: false: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • Policy to use: digital-credentials-get https://www1.web-platform.test:8443, is cross-origin: true, is allowed by policy: true: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /digital-credentials/disabled-by-permissions-policy.https.sub.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header digital-credentials-get=() disallows the top-level document.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=() disallows same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: FAIL)
    • Header-set policy is overridden in cross-origin iframe using allow attribute.: NOTRUN (Chrome: NOTRUN, Safari: TIMEOUT)
    • Setting digital-credentials-get=(self) disallows the API in same-origin iframes.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header digital-credentials-get=(self) allows the top-level document.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=(self) allows same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=(self) disallows cross-origin iframes.: NOTRUN (Chrome: NOTRUN, Safari: TIMEOUT)
    • Permissions-Policy header digital-credentials-get=(self) gets overridden by allow attribute.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /digital-credentials/get.tentative.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • navigator.credentials.get() API rejects if there are no providers.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() API rejects if there are no providers for same-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() API rejects if there are no providers in cross-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() promise is rejected if called with an aborted controller.: FAIL (Chrome: FAIL, Safari: PASS)
    • navigator.credentials.get() promise is rejected if called with an aborted controller in same-origin iframe.: FAIL (Chrome: FAIL, Safari: PASS)
    • navigator.credentials.get() promise is rejected if called with an aborted signal in cross-origin iframe.: FAIL (Chrome: FAIL, Safari: PASS)
    • navigator.credentials.get() promise is rejected if abort controller is aborted after call to get().: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() promise is rejected if abort controller is aborted after call to get() in cross-origin iframe.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Mediation is required to get a DigitalCredential.: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /digital-credentials/create.tentative.https.html [wpt.fyi]
    • navigator.credentials.create() frame just returns null.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() same-origin iframe just returns null.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() cross-origin iframe results in null.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() ignores mediations.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() ignores mediations in same-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() ignores mediations in cross-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.create() rejects if called with an aborted controller.: FAIL (Chrome: FAIL, Safari: PASS)
    • navigator.credentials.create() rejects if called with an aborted controller in same-origin iframe.: FAIL (Chrome: FAIL, Safari: PASS)
    • navigator.credentials.create() rejects if called with an aborted controller in cross-origin iframe.: FAIL (Chrome: FAIL, Safari: PASS)
    • Adding mediations together with abort signal respects the abort signal.: FAIL (Chrome: FAIL, Safari: PASS)
  • /digital-credentials/default-permissions-policy.https.sub.html [wpt.fyi]
    • Permissions-Policy is by default 'self'.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /digital-credentials/get-user-activation.https.html [wpt.fyi]
    • navigator.credentials.get() calling the API without user activation should reject with NotAllowedError.: FAIL (Chrome: FAIL, Safari: FAIL)
    • navigator.credentials.get() consumes user activation.: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /digital-credentials/allow-attribute.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /digital-credentials/disabled-by-permissions-policy.https.sub.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /digital-credentials/get.tentative.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2af98403ac59 [wpt PR 48117] - Drop identity CredentialContainer, use navigator.credentials instead, a=testonly https://hg.mozilla.org/integration/autoland/rev/119803b8f4d8 [wpt PR 48117] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.