Cookie Store API - Add tests for creation url, control characters, default secure #50129
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-01-16T22:18:36.779Z
Resolved: 2025-01-16T22:21:00.924Z
Task Execution Time: 2 minutes, 24 seconds, 145 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=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2025-01-16 22:18:36.845Z] Task ID: HS726-DyQmmnWv2UPW5Lng
[taskcluster 2025-01-16 22:18:36.845Z] Worker ID: 5438004250013874770
[taskcluster 2025-01-16 22:18:36.845Z] Worker Group: us-east4-a
[taskcluster 2025-01-16 22:18:36.845Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-01-16 22:18:36.845Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-01-16 22:18:36.845Z] Worker Version: 46.1.0
[taskcluster 2025-01-16 22:18:36.845Z] Public IP: 34.85.186.232
[taskcluster 2025-01-16 22:18:36.845Z] Hostname: proj-wpt-ci-xgr7n9n6trqeypnbd0fera
[taskcluster 2025-01-16 22:18:37.698Z] === 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
...(399 lines hidden)...
0:30.41 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:30.41 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:30.41 wptserve INFO Starting https server on https://127.0.0.1:8443
0:30.42 wptserve INFO Starting https server on https://127.0.0.1:8445
0:30.42 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:30.42 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:30.42 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:30.43 wptserve INFO Starting https server on https://127.0.0.1:8446
0:30.56 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
0:30.86 SUITE_START: web-platform-test - running 8 tests
0:38.62 INFO Using 1 child processes
0:38.64 INFO Setting up ssl
0:38.67 certutil Full command: /usr/bin/certutil -N -d /tmp/tmpuao0gbwd.mozrunner -f /tmp/tmpuao0gbwd.mozrunner/.crtdbpw
certutil b''
0:38.71 certutil b''
0:38.72 certutil b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
0:38.72 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmp7qnkguv5
0:38.73 INFO Starting runner
0:39.28 pid:1375 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1375 [GFX1-]: glxtest: libpci missing
0:39.29 pid:1375 ATTENTION: default value of option mesa_glthread overridden by environment.
0:39.38 pid:1375 1737066049192 Marionette INFO Marionette enabled
0:39.48 pid:1375 1737066049292 Marionette INFO Listening on port 42137
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
0:41.76 pid:1375 console.error: ({})
0:42.69 TEST_START: /cookie-store/cookieListItem_attributes.https.any.serviceworker.html
0:43.34 TEST_END: Test OK. Subtests passed 0/11. Unexpected 11
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - secure defaults to true - assert_equals: expected (boolean) true but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:208:16
0:43.34 TEST_START: /cookie-store/cookieListItem_attributes.https.any.html
0:43.35 INFO Closing window 824d4b1c-8538-4602-b457-df49efeb86bf
0:43.76 TEST_END: Test OK. Subtests passed 0/11. Unexpected 11
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - secure defaults to true - assert_equals: expected (boolean) true but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:208:16
0:43.76 TEST_START: /cookie-store/cookieStore_delete_arguments.https.any.html
0:43.77 INFO Closing window ee3d446e-d39e-4e69-9c18-c6849a0cc152
0:44.19 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
0:44.19 TEST_START: /cookie-store/cookieStore_delete_arguments.https.any.serviceworker.html
0:44.20 INFO Closing window d1a4a873-1d42-400b-80f6-9fccc8343de5
0:44.75 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
0:44.75 TEST_START: /cookie-store/cookieStore_getAll_set_creation_url.https.any.html
0:44.76 INFO Closing window 0beac9d9-0584-4ef0-97e7-768a7a783416
0:45.17 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
0:45.17 TEST_START: /cookie-store/cookieStore_get_set_creation_url.https.any.html
0:45.17 INFO Closing window 1b207dd7-850d-492f-b00e-819022b41e79
0:45.55 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
0:45.55 TEST_START: /cookie-store/cookieStore_set_arguments.https.any.serviceworker.html
0:45.56 INFO Closing window 192134aa-cbf5-4b33-9377-46df650e3b5a
0:46.11 TEST_END: Test OK. Subtests passed 48/50. Unexpected 2
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:207:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:285:16
0:46.11 TEST_START: /cookie-store/cookieStore_set_arguments.https.any.html
0:46.12 INFO Closing window d693708e-79a9-414c-b317-9dbd00898607
0:46.56 TEST_END: Test OK. Subtests passed 48/50. Unexpected 2
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:207:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:285:16
0:46.56 INFO No more tests
0:46.57 pid:1375 1737066056373 Marionette INFO Stopped listening on port 42137
0:47.12 pid:1375 [Parent 1375, IPC I/O Parent] WARNING: failed to send SIGKILL to process 1924: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:153
0:47.26 INFO Browser exited with return code -15
0:47.14 INFO Closing logging queue
0:47.14 INFO queue closed
0:47.27 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 160 checks (152 subtests, 8 tests)
Expected results: 134
Unexpected results: 26
subtest: 26 (26 fail)
Unexpected Results
------------------
/cookie-store/cookieListItem_attributes.https.any.serviceworker.html
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - secure defaults to true - assert_equals: expected (boolean) true but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:208:16
/cookie-store/cookieListItem_attributes.https.any.html
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - secure defaults to true - assert_equals: expected (boolean) true but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:208:16
/cookie-store/cookieStore_set_arguments.https.any.serviceworker.html
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:207:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:285:16
/cookie-store/cookieStore_set_arguments.https.any.html
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:207:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:285:16
0:47.27 INFO Got 4 unexpected results, with 0 unexpected passes
0:47.27 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:47.32 wptserve INFO Stopped http server on 127.0.0.1:8443
0:47.38 wptserve INFO Stopped http server on 127.0.0.1:8003
0:47.38 wptserve INFO Stopped http server on 127.0.0.1:8002
0:47.38 wptserve INFO Stopped http server on 127.0.0.1:8445
0:47.40 wptserve INFO Stopped http server on 127.0.0.1:8444
0:47.40 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:47.40 wptserve INFO Stopped http server on 127.0.0.1:8001
0:47.40 wptserve INFO Stopped http server on 127.0.0.1:8446
0:47.40 wptserve INFO Stopped http server on 127.0.0.1:9000
0:47.40 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:47.61 wptserve INFO Stopped http server on 127.0.0.1:8000
0:47.66 INFO Removed font: Ahem.ttf
0:47.68 INFO Closing logging queue
0:47.69 INFO queue closed
0:47.69 INFO Tolerating 4 unexpected results
[taskcluster 2025-01-16 22:20:59.447Z] === Task Finished ===
[taskcluster 2025-01-16 22:21:00.281Z] Successful task run with exit code: 0 completed in 143.437 seconds