Closed Bug 1943816 Opened 28 days ago Closed 25 days ago

[wpt-sync] Sync PR 48253 - Digital Credentials: s/providers/requests, s/request/data

Categories

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

task

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Marcos Caceres <caceres_m@apple.com> wrote:

Digital Credentials: s/providers/requests, s/request/data

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

CI Results

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

Total 6 tests and 10 subtests

Status Summary

Firefox

OK : 6
PASS: 1
FAIL: 30

Chrome

OK : 6
PASS: 9
FAIL: 22

Safari

OK : 6
PASS: 8
FAIL: 23

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /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: PASS, Safari: FAIL)
  • /digital-credentials/disabled-by-permissions-policy.https.sub.html [wpt.fyi]
    • 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.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Header-set policy is overridden in cross-origin iframe using allow attribute.: FAIL (Chrome: PASS, Safari: FAIL)
    • Setting digital-credentials-get=(self) disallows the API in same-origin iframes.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]
    • Permissions-Policy header digital-credentials-get=(self) allows the top-level document.: FAIL (Chrome: PASS, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=(self) allows same-origin iframes.: FAIL (Chrome: PASS, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=(self) disallows cross-origin iframes.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Permissions-Policy header digital-credentials-get=(self) gets overridden by allow attribute.: FAIL (Chrome: PASS, 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)
  • /digital-credentials/get.tentative.https.html [wpt.fyi]
    • navigator.credentials.get() API rejects if there are no credential request.: FAIL (Chrome: PASS, Safari: FAIL)
    • navigator.credentials.get() API rejects if there are no credential request for same-origin iframe.: FAIL (Chrome: PASS, Safari: FAIL)
    • navigator.credentials.get() API rejects if there are no credential request in cross-origin iframe.: FAIL (Chrome: PASS, 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.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Mediation is required to get a DigitalCredential.: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1c752bfc594
[wpt PR 48253] - Digital Credentials: s/providers/requests, s/request/data, a=testonly
https://hg.mozilla.org/integration/autoland/rev/ee6947c455ac
[wpt PR 48253] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.