Closed Bug 1919985 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48262 - Fix bugs in digital-credential WPT tests

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 48262 into mozilla-central (this bug is closed when the sync is complete).

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

Peter Kotwicz <pkotwicz@chromium.org> wrote:

Fix bugs in digital-credential WPT tests

BUG=368070320

Change-Id: I4372915e9d661cd4c9905c020acc96d9f4cab975
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5873851
Reviewed-by: Nina Satragno \<nsatragno@chromium.org>
Commit-Queue: Peter Kotwicz \<pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1357604}

PR 48262 applied with additional changes from upstream: f2360ca5e9b275e12e3d879916eb66d3d3f14460

CI Results

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

Total 6 tests and 10 subtests

Status Summary

Firefox

OK : 3
PASS : 1
FAIL : 22
TIMEOUT: 6
NOTRUN : 5

Chrome

OK : 3
FAIL : 23
TIMEOUT: 6
NOTRUN : 5

Safari

OK : 3
PASS : 7
FAIL : 18
TIMEOUT: 6
NOTRUN : 3

Links

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: FAIL, Safari: FAIL)
  • /digital-credentials/disabled-by-permissions-policy.https.sub.html [wpt.fyi]: TIMEOUT (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]: TIMEOUT (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-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]: TIMEOUT (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: FAIL)
    • 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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89659a3a865d [wpt PR 48262] - Fix bugs in digital-credential WPT tests, 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.