commit 327c2176e15f7e727167304121376ec04bec3633
parent 536ea74562d8ac82265864a3ecea490cb4ebaa8e
Author: moz-wptsync-bot <wptsync@mozilla.com>
Date: Thu, 11 Dec 2025 11:55:31 +0000
Bug 2005139 [wpt PR 56627] - Update wpt metadata, a=testonly
wpt-pr: 56627
wpt-type: metadata
Diffstat:
7 files changed, 104 insertions(+), 7 deletions(-)
diff --git a/testing/web-platform/meta/digital-credentials/create.disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/digital-credentials/create.disabled-by-permissions-policy.https.sub.html.ini
@@ -1,2 +1,9 @@
[create.disabled-by-permissions-policy.https.sub.html]
- expected: ERROR
+ [Permissions-Policy header digital-credentials-create=() disallows the top-level document.]
+ expected: FAIL
+
+ [Permissions-Policy header digital-credentials-create=() disallows same-origin iframes.]
+ expected: FAIL
+
+ [Permissions-Policy header digital-credentials-create=() cannot be overridden using the allow attribute.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/create.tentative.https.html.ini b/testing/web-platform/meta/digital-credentials/create.tentative.https.html.ini
@@ -1,3 +1,34 @@
[create.tentative.https.html]
max-asserts: 2
- expected: ERROR
+ [navigator.credentials.create() API rejects if there are no credential request.]
+ expected: FAIL
+
+ [navigator.credentials.create() API rejects if there are no credential request for same-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.create() API rejects if there are no credential request in cross-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.create() promise is rejected if called with an aborted controller.]
+ expected: FAIL
+
+ [navigator.credentials.create() promise is rejected if called with an aborted controller in same-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.create() promise is rejected if called with an aborted signal in cross-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.create() promise is rejected if abort controller is aborted after call to create().]
+ expected: FAIL
+
+ [navigator.credentials.create() promise is rejected if abort controller is aborted after call to create() in cross-origin iframe.]
+ expected: FAIL
+
+ [Mediation is implicitly required and hence ignored. Request is aborted regardless.]
+ expected: FAIL
+
+ [`requests` field is required in the options object.]
+ expected: FAIL
+
+ [Throws TypeError when request data is not JSON stringifiable.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/default-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/digital-credentials/default-permissions-policy.https.sub.html.ini
@@ -1,2 +1,6 @@
[default-permissions-policy.https.sub.html]
- expected: ERROR
+ [Permissions-Policy is by default 'self' for get().]
+ expected: FAIL
+
+ [Permissions-Policy is by default 'self' for create().]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/get.disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/digital-credentials/get.disabled-by-permissions-policy.https.sub.html.ini
@@ -1,2 +1,9 @@
[get.disabled-by-permissions-policy.https.sub.html]
- expected: ERROR
+ [Permissions-Policy header digital-credentials-get=() disallows the top-level document.]
+ expected: FAIL
+
+ [Permissions-Policy header digital-credentials-get=() disallows same-origin iframes.]
+ expected: FAIL
+
+ [Permissions-Policy header digital-credentials-get=() cannot be overridden using the allow attribute.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/get.tentative.https.html.ini b/testing/web-platform/meta/digital-credentials/get.tentative.https.html.ini
@@ -1,2 +1,36 @@
[get.tentative.https.html]
- expected: ERROR
+ [Type conversion happens on the data member of the DigitalCredentialGetRequest object.]
+ expected: FAIL
+
+ [navigator.credentials.get() API rejects if there are no credential request.]
+ expected: FAIL
+
+ [navigator.credentials.get() API rejects if there are no credential request for same-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.get() API rejects if there are no credential request in cross-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.get() promise is rejected if called with an aborted controller.]
+ expected: FAIL
+
+ [navigator.credentials.get() promise is rejected if called with an aborted controller in same-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.get() promise is rejected if called with an aborted signal in cross-origin iframe.]
+ expected: FAIL
+
+ [navigator.credentials.get() promise is rejected if abort controller is aborted after call to get().]
+ expected: FAIL
+
+ [navigator.credentials.get() promise is rejected if abort controller is aborted after call to get() in cross-origin iframe.]
+ expected: FAIL
+
+ [Mediation is implicitly required and hence ignored. Request is aborted regardless.]
+ expected: FAIL
+
+ [Throws TypeError when request data is not JSON stringifiable.]
+ expected: FAIL
+
+ [`requests` field is required in the options object.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/non-fully-active.https.html.ini b/testing/web-platform/meta/digital-credentials/non-fully-active.https.html.ini
@@ -1,2 +1,6 @@
[non-fully-active.https.html]
- expected: ERROR
+ [non-fully active document behavior for CredentialsContainer]
+ expected: FAIL
+
+ [Promise rejects with DOMException when the document becomes non-fully active]
+ expected: FAIL
diff --git a/testing/web-platform/meta/digital-credentials/user-activation.https.html.ini b/testing/web-platform/meta/digital-credentials/user-activation.https.html.ini
@@ -1,2 +1,12 @@
[user-activation.https.html]
- expected: ERROR
+ [navigator.credentials.get() calling the API without user activation should reject with NotAllowedError.]
+ expected: FAIL
+
+ [navigator.credentials.get() consumes user activation.]
+ expected: FAIL
+
+ [navigator.credentials.create() calling the API without user activation should reject with NotAllowedError.]
+ expected: FAIL
+
+ [navigator.credentials.create() consumes user activation.]
+ expected: FAIL