[wpt-sync] Sync PR 48262 - Fix bugs in digital-credential WPT tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox132 fixed)
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}
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
Assignee | ||
Comment 3•1 month ago
|
||
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
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
)
- navigator.credentials.create() frame just returns null.:
- /digital-credentials/default-permissions-policy.https.sub.html [wpt.fyi]
- Permissions-Policy is by default 'self'.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Permissions-Policy is by default 'self'.:
- /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
)
- Permissions-Policy header digital-credentials-get=() disallows the top-level document.:
- /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
)
- Permissions-Policy header digital-credentials-get=(self) allows the top-level document.:
- /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
)
- navigator.credentials.get() calling the API without user activation should reject with NotAllowedError.:
- /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
)
- navigator.credentials.get() API rejects if there are no providers.:
Comment 5•1 month ago
|
||
bugherder |
Description
•