Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digital Credentials: Rename DigitalCredentialsRequest to DigitalCredentialRequest #49989

Merged
merged 6 commits into from
Jan 26, 2025

Use outerHTML instead of message.

a8a9378
Select commit
Loading
Failed to load commit list.
Merged

Digital Credentials: Rename DigitalCredentialsRequest to DigitalCredentialRequest #49989

Use outerHTML instead of message.
a8a9378
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results-without-changes succeeded Jan 10, 2025 in 4m 22s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome but without the changes in the PR.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-01-10T06:42:34.909Z
Resolved: 2025-01-10T06:45:37.336Z
Task Execution Time: 3 minutes, 2 seconds, 427 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2025-01-10 06:42:34.965Z] Task ID: NJBlKBnfQTynBw4SU9NCdw
[taskcluster 2025-01-10 06:42:34.965Z] Worker ID: 35998185598819936
[taskcluster 2025-01-10 06:42:34.965Z] Worker Group: us-east1-b
[taskcluster 2025-01-10 06:42:34.965Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-01-10 06:42:34.965Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-01-10 06:42:34.965Z] Worker Version: 46.1.0
[taskcluster 2025-01-10 06:42:34.965Z] Public IP: 35.190.156.186
[taskcluster 2025-01-10 06:42:34.965Z] Hostname: proj-wpt-ci-fwmxkdlcruweju3xfkeila

[taskcluster 2025-01-10 06:42:35.792Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(515 lines hidden)...

FAIL navigator.credentials.create() frame just returns null. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
FAIL navigator.credentials.create() same-origin iframe just returns null. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
FAIL navigator.credentials.create() cross-origin iframe results in null. - assert_equals: expected null but got object "[object Object]"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:48:5)
FAIL navigator.credentials.create() ignores mediations. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
FAIL navigator.credentials.create() ignores mediations in same-origin iframe. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
FAIL navigator.credentials.create() ignores mediations in cross-origin iframe. - assert_equals: expected null but got object "[object Object]"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:71:7)
FAIL navigator.credentials.create() rejects if called with an aborted controller. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:79:5)
FAIL navigator.credentials.create() rejects if called with an aborted controller in same-origin iframe. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:93:5)
FAIL navigator.credentials.create() rejects if called with an aborted controller in cross-origin iframe. - assert_equals: expected "AbortError" but got "NotSupportedError"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:109:5)
FAIL Adding mediations together with abort signal respects the abort signal. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:121:7)

 0:28.52 TEST_START: /digital-credentials/default-permissions-policy.https.sub.html
 0:28.53 pid:2097 [2114:2130:0110/064526.289689:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR
 0:28.53 pid:2097 [2114:2130:0110/064526.290642:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR
 0:28.53 pid:2097 [2114:2130:0110/064526.292086:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR
 0:28.53 pid:2097 [2114:2130:0110/064526.292421:ERROR:mcs_client.cc(700)]   Error code: 401  Error message: Authentication Failed: wrong_secret
 0:28.53 pid:2097 [2114:2130:0110/064526.292429:ERROR:mcs_client.cc(702)] Failed to log in to GCM, resetting connection.
 0:28.71 INFO click <WebElement f.2C1404F1F62F5775CEAA7D3B78536CA4.d.303F64F297A5D6E62FBE26CB308AC12D.e.3>
 0:28.85 INFO click <WebElement f.B349965BB00169E2CFC3BDB40E8BB570.d.E52AF08E139B4F46B73930CC81E4CF0C.e.8>
 0:29.05 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 0:29.05 TEST_START: /digital-credentials/disabled-by-permissions-policy.https.sub.html
 0:29.22 INFO click <WebElement f.D4CE4F12E303C8C9A17BA00B8B87225C.d.AE613E104D1CBB8033A51504D61D904C.e.3>
 0:29.35 INFO click <WebElement f.DD68630A8A2726AB1A210E210578A0BB.d.7BF9CBB08E47029AC1CBAD4EFF607F23.e.8>
 0:29.54 INFO click <WebElement f.3F53F8001C78EFEAF4EA4C71E2252D0B.d.EDDADA07A5A4ED8379C646C2E4E29FC9.e.12>
 0:29.71 INFO click <WebElement f.6CACE0570E32AB44B74A2B1420175A42.d.A0FBC01B2018C32D30F25BD900D768FB.e.16>
 0:29.84 pid:2097 [2143:2143:0110/064527.598193:ERROR:shared_image_manager.cc(250)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
 0:29.84 TEST_END: Test OK. Subtests passed 3/4. Unexpected 1
FAIL Header-set policy is overridden in cross-origin iframe using allow attribute. - assert_true: Digital Credential API expected true got false
    at expect_feature_available_default (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:97:3)
    at expectFeatureAvailable (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:73:7)
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/disabled-by-permissions-policy.https.sub.html:38:9)

 0:29.84 TEST_START: /digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html
 0:29.99 INFO click <WebElement f.2BE901D8060827B861E181EEAC89EFEB.d.28482C258F929B84B898C7C2E3C0456B.e.3>
 0:30.12 INFO click <WebElement f.BF250F62582C80F5027BFE5DCA33DFB6.d.F94A14111BD6218525F49B6996311E54.e.7>
 0:30.32 INFO click <WebElement f.7A1F23C2A37403BA5D3C4BDD4CA7FD49.d.6D29D33668DD1CC95E31BD79A5918CC8.e.11>
 0:30.48 INFO click <WebElement f.C66DEF1CA3D1E9215472E976119B3C6A.d.E9063714DA425585DD171B45371C0FD4.e.15>
mem avail: 14121 of 15806 MiB (89 %), swap free:    0 of    0 MiB ( 0 %)
 0:30.65 TEST_END: Test OK. Subtests passed 3/4. Unexpected 1
FAIL Permissions-Policy header digital-credentials-get=(self) gets overridden by allow attribute. - assert_true: Digital Credential API expected true got false
    at expect_feature_available_default (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:97:3)
    at expectFeatureAvailable (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:73:7)
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html:49:9)

 0:30.65 TEST_START: /digital-credentials/get-user-activation.https.html
 0:30.79 INFO click <WebElement f.B2C15C6D0E5E31F86380EA40ED46116B.d.615DD4D0DD3541B3591BF0B47D09FA50.e.3>
 0:30.93 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL navigator.credentials.get() consumes user activation. - assert_false: User activation should be consumed after navigator.credentials.get(). expected false got true
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get-user-activation.https.html:33:5)

 0:30.93 TEST_START: /digital-credentials/get.tentative.https.html
 0:31.14 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.8>
 0:31.21 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.10>
 0:31.29 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.11>
 0:31.36 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.12>
 0:31.42 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.13>
 0:31.49 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.14>
 0:31.56 INFO click <WebElement f.7C4B907315172B1F0B5B7DE0E04ADD79.d.3CF3E7C2307BB00D68BDAB59F2F87155.e.15>
 0:31.66 INFO click <WebElement f.15CEC2E613AC5735A00228AAC9D5A8B3.d.8CDDE29918AE9390822E599F7317B2A7.e.18>
 0:31.80 TEST_END: Test OK. Subtests passed 7/10. Unexpected 3
FAIL Calling navigator.credentials.get() without an digital member same origin. - assert_unreached: Should have rejected: undefined Reached unreachable code
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:34:7)
FAIL navigator.credentials.get() API rejects if there are no providers in cross-origin iframe. - assert_equals: expected "TypeError" but got "DOMException"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:118:7)
FAIL Mediation is required to get a DigitalCredential. - assert_unreached: Should have rejected: undefined Reached unreachable code
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:202:7)

 0:31.80 INFO No more tests
 0:31.85 INFO Closing logging queue
 0:31.85 INFO queue closed
 0:31.91 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 50 checks (43 subtests, 7 tests)
Expected results: 34
Unexpected results: 16
  subtest: 16 (16 fail)

Unexpected Results
------------------
/digital-credentials/create.tentative.https.html
  FAIL navigator.credentials.create() frame just returns null. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL navigator.credentials.create() same-origin iframe just returns null. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL navigator.credentials.create() cross-origin iframe results in null. - assert_equals: expected null but got object "[object Object]"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:48:5)
  FAIL navigator.credentials.create() ignores mediations. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL navigator.credentials.create() ignores mediations in same-origin iframe. - promise_test: Unhandled rejection with value: object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL navigator.credentials.create() ignores mediations in cross-origin iframe. - assert_equals: expected null but got object "[object Object]"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:71:7)
  FAIL navigator.credentials.create() rejects if called with an aborted controller. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:79:5)
  FAIL navigator.credentials.create() rejects if called with an aborted controller in same-origin iframe. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:93:5)
  FAIL navigator.credentials.create() rejects if called with an aborted controller in cross-origin iframe. - assert_equals: expected "AbortError" but got "NotSupportedError"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:109:5)
  FAIL Adding mediations together with abort signal respects the abort signal. - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: Only exactly one of 'password', 'federated', and 'publicKey' credential types are currently supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/create.tentative.https.html:121:7)
/digital-credentials/disabled-by-permissions-policy.https.sub.html
  FAIL Header-set policy is overridden in cross-origin iframe using allow attribute. - assert_true: Digital Credential API expected true got false
    at expect_feature_available_default (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:97:3)
    at expectFeatureAvailable (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:73:7)
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/disabled-by-permissions-policy.https.sub.html:38:9)
/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html
  FAIL Permissions-Policy header digital-credentials-get=(self) gets overridden by allow attribute. - assert_true: Digital Credential API expected true got false
    at expect_feature_available_default (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:97:3)
    at expectFeatureAvailable (https://web-platform.test:8443/permissions-policy/resources/permissions-policy.js:73:7)
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html:49:9)
/digital-credentials/get-user-activation.https.html
  FAIL navigator.credentials.get() consumes user activation. - assert_false: User activation should be consumed after navigator.credentials.get(). expected false got true
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get-user-activation.https.html:33:5)
/digital-credentials/get.tentative.https.html
  FAIL Calling navigator.credentials.get() without an digital member same origin. - assert_unreached: Should have rejected: undefined Reached unreachable code
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:34:7)
  FAIL navigator.credentials.get() API rejects if there are no providers in cross-origin iframe. - assert_equals: expected "TypeError" but got "DOMException"
    at Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:118:7)
  FAIL Mediation is required to get a DigitalCredential. - assert_unreached: Should have rejected: undefined Reached unreachable code
    at async Test.<anonymous> (https://web-platform.test:8443/digital-credentials/get.tentative.https.html:202:7)
 0:31.91 INFO Got 5 unexpected results, with 0 unexpected passes
 0:31.91 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:32.07 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:32.11 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:32.15 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:32.15 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:32.15 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:32.15 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:32.15 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:32.15 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:32.17 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:32.17 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:32.17 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:32.25 INFO Removed font: Ahem.ttf
 0:32.27 INFO Closing logging queue
 0:32.27 INFO queue closed
 0:32.27 INFO Tolerating 5 unexpected results
[taskcluster 2025-01-10 06:45:34.579Z] === Task Finished ===
[taskcluster 2025-01-10 06:45:35.483Z] Successful task run with exit code: 0 completed in 180.518 seconds