Skip to content

Cookies: add tests for expiry at read, path length order, repeated attributes and other methods - #64550

Open
rifmj wants to merge 1 commit into
web-platform-tests:masterfrom
rifmj:cookies-expiry-order-attributes
Open

rifmj wants to merge 1 commit into
web-platform-tests:masterfrom
rifmj:cookies-expiry-order-attributes

Cookies: add tests for expiry at read, path length order, repeated at…

d9e8d3d
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-stability succeeded Nov 2, 2026 in 5m 37s

Community-TC (pull_request)

Verify that all tests affected by a pull request are stable when executed in firefox.

Details

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

Task Status

Started: 2026-11-02T13:54:21.447Z
Resolved: 2026-11-02T13:59:58.483Z
Task Execution Time: 5 minutes, 37 seconds, 36 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: UQzewPGoSKiK6nQstxoJow
RunId: 0

Artifacts

- public/logs/live_backing.log (89.9 KB)
- public/logs/live.log
- public/results/checkrun.md (394 B)

WPT Command: python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_head --log-mach-level=debug --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --binary=/home/test/build/firefox/firefox firefox


[taskcluster 2026-11-02T13:54:21.535Z] Worker Type (proj-wpt/ci-gw) settings:
[taskcluster 2026-11-02T13:54:21.535Z]   {
[taskcluster 2026-11-02T13:54:21.535Z]     "generic-worker": {
[taskcluster 2026-11-02T13:54:21.535Z]       "config": {
[taskcluster 2026-11-02T13:54:21.535Z]         "capacity": 1,
[taskcluster 2026-11-02T13:54:21.535Z]         "headlessTasks": false
[taskcluster 2026-11-02T13:54:21.535Z]       },
[taskcluster 2026-11-02T13:54:21.535Z]       "engine": "multiuser",
[taskcluster 2026-11-02T13:54:21.535Z]       "go-arch": "amd64",
[taskcluster 2026-11-02T13:54:21.535Z]       "go-os": "linux",
[taskcluster 2026-11-02T13:54:21.535Z]       "go-version": "go1.27.3",
[taskcluster 2026-11-02T13:54:21.535Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v114.0.0",
[taskcluster 2026-11-02T13:54:21.535Z]       "revision": "2a09f42c9f303f067a0f0262ae089f09229ef485",
[taskcluster 2026-11-02T13:54:21.535Z]       "source": "https://github.com/taskcluster/taskcluster/commits/2a09f42c9f303f067a0f0262ae089f09229ef485",
[taskcluster 2026-11-02T13:54:21.535Z]       "version": "114.0.0"
[taskcluster 2026-11-02T13:54:21.535Z]     },
[taskcluster 2026-11-02T13:54:21.535Z]     "image": "projects/taskcluster-imaging/global/images/generic-worker-ubuntu-24-04-057b81800ee54b8e8ee8",
[taskcluster 2026-11-02T13:54:21.535Z]     "instance-id": "2249714459763617043",
[taskcluster 2026-11-02T13:54:21.535Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2026-11-02T13:54:21.535Z]     "local-ipv4": "10.128.0.138",

...(1529 lines hidden)...

~~~~~~~~~~~~~~~~~
Ran 162 checks (117 subtests, 45 tests)
Expected results: 162
Unexpected results: 0
OK
 2:45.61 INFO Got 0 unexpected results, with 0 unexpected passes
 2:45.61 INFO Repetition 10 / 10
 2:45.61 SUITE_START: web-platform-test - running 5 tests
 2:45.61 DEBUG Grouped tests into 1 groups
 2:45.61 INFO Using 1 child processes
 2:45.61 DEBUG Dispatch start_init
 2:45.61 DEBUG Got new test group subsuite:'' test_type:testharness
 2:45.61 DEBUG new state: InitializingState
 2:45.61 DEBUG Dispatch init
 2:45.62 INFO Setting up ssl
 2:45.64 certutil b''
 2:45.66 certutil b''
 2:45.66 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 2:45.66 DEBUG Init called, starting browser and runner
 2:45.66 DEBUG Starting browser with settings {'check_leaks': False, 'lsan_disabled': False, 'lsan_allowed': set(), 'lsan_max_stack_depth': None, 'mozleak_allowed': False, 'mozleak_thresholds': False, 'special_powers': None, 'testdriver': True}
 2:45.67 DEBUG Starting Firefox
 2:45.67 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmpguxix1q9
 2:45.69 DEBUG OutputHandler.after_process_start
 2:45.69 DEBUG Firefox Started
 2:45.69 DEBUG OutputHandler.start
 2:45.69 INFO Starting runner
 2:45.69 DEBUG Test runner started
 2:45.69 pid:7073 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:7073 [7073] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
 2:46.09 DEBUG Got command: 'log'
 2:46.09 DEBUG Executor setup
 2:46.09 DEBUG Got command: 'log'
 2:46.09 DEBUG Connecting to Marionette on port 53575
 2:46.09 DEBUG Got command: 'log'
 2:46.09 DEBUG Waiting for Marionette connection
 2:46.19 pid:7073 1793627922611	Marionette	INFO	Marionette enabled
 2:46.30 pid:7073 1793627922722	Marionette	INFO	Listening on port 53575
 2:46.32 DEBUG Got command: 'log'
 2:46.32 DEBUG Starting Marionette session
 2:47.48 pid:7073 console.error: services.settings:
 2:47.48 pid:7073   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
 2:47.48 pid:7073   Stack:
 2:47.48 pid:7073     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
 2:47.48 pid:7073 list@resource://services-settings/Database.sys.mjs:96:13
 2:47.96 DEBUG Got command: 'log'
 2:47.95 DEBUG Marionette session started
 2:47.96 DEBUG Got command: 'log'
 2:47.95 DEBUG Loading http://web-platform.test:8000/testharness_runner.html
 2:48.00 pid:7073 console.error: services.settings:
 2:48.00 pid:7073   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
 2:48.00 pid:7073   Stack:
 2:48.00 pid:7073     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
 2:48.00 pid:7073 list@resource://services-settings/Database.sys.mjs:96:13
 2:48.07 DEBUG Got command: 'init_succeeded'
 2:48.07 DEBUG new state: RunningState
 2:48.07 DEBUG Dispatch run_test
 2:48.07 TEST_START: /cookies/attributes/expired-at-read.html
 2:48.08 DEBUG Got command: 'log'
 2:48.07 DEBUG Executor setup done
mem avail: 12969 of 15985 MiB (81.13%), swap free:    0 of    0 MiB ( 0.00%)
 2:56.56 DEBUG Got command: 'log'
 2:56.56 DEBUG Got async callback: complete
 2:56.56 DEBUG Got command: 'test_ended'
 2:56.56 TEST_END: Test OK. Subtests passed 2/2. Unexpected 0
 2:56.56 DEBUG new state: RunningState
 2:56.56 DEBUG Dispatch run_test
 2:56.56 TEST_START: /cookies/attributes/last-attribute.html
 2:56.56 DEBUG Got command: 'log'
 2:56.56 INFO Closing window 0a6b673b-d458-4bcc-8d10-c5def55d8ef7
 2:56.74 DEBUG Got command: 'log'
 2:56.74 DEBUG Got async callback: complete
 2:56.74 DEBUG Got command: 'test_ended'
 2:56.75 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
 2:56.75 DEBUG new state: RunningState
 2:56.75 DEBUG Dispatch run_test
 2:56.75 TEST_START: /cookies/attributes/last-attribute.tentative.html
 2:56.75 DEBUG Got command: 'log'
 2:56.75 INFO Closing window f8d86093-fb28-44f1-8f93-81fa067b155f
 2:56.97 DEBUG Got command: 'log'
 2:56.97 DEBUG Got async callback: complete
 2:56.97 DEBUG Got command: 'test_ended'
 2:56.97 TEST_END: Test OK. Subtests passed 2/2. Unexpected 0
 2:56.97 DEBUG new state: RunningState
 2:56.97 DEBUG Dispatch run_test
 2:56.97 TEST_START: /cookies/ordering/equal-segment-count.html
 2:56.97 DEBUG Got command: 'log'
 2:56.97 INFO Closing window 6f59be83-91f4-49c8-b062-6893680a20c8
 2:57.21 DEBUG Got command: 'log'
 2:57.21 DEBUG Got async callback: complete
 2:57.21 DEBUG Got command: 'test_ended'
 2:57.21 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 2:57.21 DEBUG new state: RunningState
 2:57.21 DEBUG Dispatch run_test
 2:57.21 TEST_START: /cookies/samesite/methods-beyond-get-post.html
 2:57.22 DEBUG Got command: 'log'
 2:57.22 INFO Closing window d4ebb6b1-a008-4639-8fee-33fd3cd2e13f
 2:57.59 DEBUG Got command: 'log'
 2:57.59 DEBUG Got async callback: complete
 2:57.59 DEBUG Got command: 'test_ended'
 2:57.59 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
 2:57.59 INFO No more tests
 2:57.59 DEBUG new state: StopState
 2:57.59 DEBUG TestRunnerManager main loop terminating, starting cleanup
 2:57.59 DEBUG Stopping runner process
 2:57.60 pid:7073 1793627934014	Marionette	INFO	Stopped listening on port 53575
 2:57.99 DEBUG Runner process exited with code 0
 2:57.99 DEBUG Stopping Firefox 7073
 2:57.99 DEBUG Shutting down attempt 1/3
 2:58.06 INFO Browser exited with return code 0
 2:58.06 DEBUG OutputHandler.after_process_stop
 2:58.06 DEBUG stopped
 2:58.06 DEBUG TestRunnerManager cleanup
 2:57.92 INFO Closing logging queue
 2:57.92 INFO queue closed
 2:58.06 DEBUG TestRunnerManager teardown
 2:58.06 DEBUG OutputHandler.after_process_stop
 2:58.07 DEBUG TestRunnerManager main loop terminated
 2:58.07 DEBUG Stop flag set in ManagerGroup
 2:58.07 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 180 checks (130 subtests, 50 tests)
Expected results: 180
Unexpected results: 0
OK
 2:58.07 INFO Got 0 unexpected results, with 0 unexpected passes
 2:58.07 wptserve INFO Stopped http server on 127.0.0.1:8000
 2:58.07 wptserve INFO Stopped http server on 127.0.0.1:8001
 2:58.07 wptserve INFO Stopped http server on 127.0.0.1:8003
 2:58.07 wptserve INFO Stopped http server on 127.0.0.1:8002
 2:58.07 wptserve INFO Stopped http server on 127.0.0.1:8443
 2:58.08 wptserve INFO Stopped http server on 127.0.0.1:8445
 2:58.08 wptserve INFO Stopped http server on 127.0.0.1:8444
 2:58.09 wptserve INFO Stopped http server on 127.0.0.1:8446
 2:58.09 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 2:58.09 wptserve INFO Stopped http server on 127.0.0.1:9000
 2:58.33 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 2:58.34 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 2:58.38 INFO Removed font: Ahem.ttf
 2:58.41 INFO Closing logging queue
 2:58.41 INFO queue closed
 2:58.41 INFO ::: Ran 10 of expected 10 iterations.
 2:58.41 INFO ## All results ##

 2:58.41 INFO ### /cookies/attributes/expired-at-read.html ###
 2:58.41 INFO |                             Subtest                              | Results | Messages |
 2:58.42 INFO |------------------------------------------------------------------|---------|----------|
 2:58.42 INFO |                                                                  | OK      |          |
 2:58.42 INFO | `Cookie request header, with no document.cookie read in between` | PASS    |          |
 2:58.42 INFO | `document.cookie, with no request in between`                    | PASS    |          |
 2:58.42 INFO 
 2:58.42 INFO ### /cookies/attributes/last-attribute.html ###
 2:58.42 INFO |                              Subtest                              | Results | Messages |
 2:58.42 INFO |-------------------------------------------------------------------|---------|----------|
 2:58.42 INFO |                                                                   | OK      |          |
 2:58.42 INFO | `Max-Age before a past Expires keeps the cookie`                  | PASS    |          |
 2:58.42 INFO | `Max-Age=0 before a future Expires removes an existing cookie`    | PASS    |          |
 2:58.42 INFO | `A last Path without a leading / discards the earlier valid Path` | PASS    |          |
 2:58.42 INFO | `A cookie with an empty Domain is accepted`                       | PASS    |          |
 2:58.42 INFO 
 2:58.42 INFO ### /cookies/attributes/last-attribute.tentative.html ###
 2:58.42 INFO |                            Subtest                            | Results | Messages |
 2:58.42 INFO |---------------------------------------------------------------|---------|----------|
 2:58.42 INFO |                                                               | OK      |          |
 2:58.42 INFO | `An unparsable last Expires cancels the earlier past Expires` | PASS    |          |
 2:58.42 INFO | `Domain=. rejects the cookie`                                 | PASS    |          |
 2:58.42 INFO 
 2:58.42 INFO ### /cookies/ordering/equal-segment-count.html ###
 2:58.42 INFO |                                 Subtest                                  | Results | Messages |
 2:58.42 INFO |--------------------------------------------------------------------------|---------|----------|
 2:58.42 INFO |                                                                          | OK      |          |
 2:58.42 INFO | `/cookies/ordering sorts before /cookies/ although it was created later` | PASS    |          |
 2:58.42 INFO 
 2:58.42 INFO ### /cookies/samesite/methods-beyond-get-post.html ###
 2:58.42 INFO |                               Subtest                               | Results | Messages |
 2:58.42 INFO |---------------------------------------------------------------------|---------|----------|
 2:58.42 INFO |                                                                     | OK      |          |
 2:58.42 INFO | `PUT carries a SameSite=Strict cookie on a same-origin request`     | PASS    |          |
 2:58.42 INFO | `DELETE carries a SameSite=Strict cookie on a same-origin request`  | PASS    |          |
 2:58.42 INFO | `PATCH carries a SameSite=Strict cookie on a same-origin request`   | PASS    |          |
 2:58.42 INFO | `OPTIONS carries a SameSite=Strict cookie on a same-origin request` | PASS    |          |
 2:58.42 INFO 
 2:58.42 INFO ::: Running tests in a loop with restarts 10 times : PASS
 2:58.42 INFO :::
 2:58.42 INFO ::: Test verification PASS
 2:58.42 INFO :::
X connection to :99.0 broken (explicit kill or server shutdown).

mem avail: 14259 of 15985 MiB (89.20%), swap free:    0 of    0 MiB ( 0.00%)
[taskcluster 2026-11-02T13:59:57.547Z]                        Exit Code: 0
[taskcluster 2026-11-02T13:59:57.547Z]                        User Time: 43.188ms
[taskcluster 2026-11-02T13:59:57.547Z]                      Kernel Time: 44.422ms
[taskcluster 2026-11-02T13:59:57.547Z]                        Wall Time: 5m35.365763915s
[taskcluster 2026-11-02T13:59:57.547Z]  Average Available System Memory: 13.52 GiB
[taskcluster 2026-11-02T13:59:57.547Z]       Average System Memory Used: 2.09 GiB
[taskcluster 2026-11-02T13:59:57.547Z]          Peak System Memory Used: 3.04 GiB
[taskcluster 2026-11-02T13:59:57.547Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-11-02T13:59:57.547Z]                           Result: SUCCEEDED
[taskcluster 2026-11-02T13:59:57.547Z] === Task Finished ===
[taskcluster 2026-11-02T13:59:57.548Z] Task Duration: 5m35.366387072s