Add Last-Event-ID to CORS-safelisted headers
#49257
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-03-21T06:06:21.038Z
Resolved: 2025-03-21T06:09:25.581Z
Task Execution Time: 3 minutes, 4 seconds, 543 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 --verify-log-full --no-headless --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2025-03-21 06:06:21.161Z] Task ID: DOLYqDBwTI2wXpJZapm8yw
[taskcluster 2025-03-21 06:06:21.161Z] Worker ID: 5690308010718576140
[taskcluster 2025-03-21 06:06:21.161Z] Worker Group: us-central1-c
[taskcluster 2025-03-21 06:06:21.161Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-03-21 06:06:21.161Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-03-21 06:06:21.161Z] Worker Version: 46.1.0
[taskcluster 2025-03-21 06:06:21.161Z] Public IP: 34.31.242.227
[taskcluster 2025-03-21 06:06:21.161Z] Hostname: proj-wpt-ci-a-pqepo7r7if5uv6amasma
[taskcluster 2025-03-21 06:06:21.860Z] === 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
...(358 lines hidden)...
Failed to read: session.screen0.toolbar.height
Setting default value
Failed to read: session.screen0.iconbar.mode
Setting default value
Failed to read: session.screen0.iconbar.alignment
Setting default value
Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value
0:28.69 INFO Identified 7 affected tests
0:28.69 INFO Using certutil /usr/bin/certutil
0:28.69 INFO Downloading geckodriver
0:28.69 INFO Attempting to install webdriver from nightly
0:28.96 INFO Extracted geckodriver to /home/test/web-platform-tests/_venv3/bin/geckodriver
0:28.97 INFO Installed b'geckodriver 0.36.0 (86fa024dcccb 2025-03-19 10:09 +0000)'
0:29.01 INFO Downloading test prefs from https://hg.mozilla.org/mozilla-central/archive/tip.zip/testing/profiles/
0:32.30 INFO Test prefs downloaded to /home/test/web-platform-tests/_venv3/profiles/nightly/138.0
0:32.52 mozversion INFO application_buildid: 20250320171508
0:32.52 mozversion INFO application_changeset: 4a47e8749bb583587549908437477b44909fe4fd
0:32.52 mozversion INFO application_display_name: Firefox Nightly
0:32.52 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
0:32.52 mozversion INFO application_name: Firefox
0:32.52 mozversion INFO application_remotingname: firefox-nightly
0:32.52 mozversion INFO application_repository: https://hg.mozilla.org/mozilla-central
0:32.52 mozversion INFO application_vendor: Mozilla
0:32.52 mozversion INFO application_version: 138.0a1
0:32.52 mozversion INFO platform_buildid: 20250320171508
0:32.52 mozversion INFO platform_changeset: 4a47e8749bb583587549908437477b44909fe4fd
0:32.52 mozversion INFO platform_repository: https://hg.mozilla.org/mozilla-central
0:32.52 mozversion INFO platform_version: 138.0a1
0:39.24 INFO Installed font: Ahem.ttf
0:39.96 wptserve INFO Starting http server on http://127.0.0.1:8001
0:40.18 wptserve INFO Starting http server on http://127.0.0.1:8000
0:40.20 wptserve INFO Starting https server on https://127.0.0.1:8445
0:40.20 wptserve INFO Starting https server on https://127.0.0.1:8443
0:40.38 wptserve INFO Starting http server on http://127.0.0.1:8003
0:40.38 wptserve INFO Starting http server on http://127.0.0.1:8002
0:40.41 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:40.41 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:40.41 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:40.41 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:40.42 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:40.42 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:40.42 wptserve INFO Starting https server on https://127.0.0.1:8444
0:40.42 wptserve INFO Starting https server on https://127.0.0.1:8446
0:40.46 wptserve INFO Starting http2 server on https://127.0.0.1:9000
0:40.53 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
0:41.43 SUITE_START: web-platform-test - running 13 tests
0:49.61 INFO Using 1 child processes
0:49.63 INFO Setting up ssl
0:49.66 certutil Full command: /usr/bin/certutil -N -d /tmp/tmpgz08zk3u.mozrunner -f /tmp/tmpgz08zk3u.mozrunner/.crtdbpw
certutil b''
0:49.69 certutil b''
0:49.70 certutil b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
0:49.71 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmpzcb8ceu8
0:49.72 INFO Starting runner
0:50.25 pid:1375 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1375 [GFX1-]: glxtest: libpci missing
0:50.25 pid:1375 ATTENTION: default value of option mesa_glthread overridden by environment.
0:50.33 pid:1375 1742537344264 Marionette INFO Marionette enabled
0:50.43 pid:1375 1742537344360 Marionette INFO Listening on port 39987
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
0:52.80 pid:1375 console.error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAppStartup.secondsSinceLastOSRestart]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource:///modules/BrowserGlue.sys.mjs :: _collectStartupConditionsTelemetry :: line 1870" data: no]
0:53.59 TEST_START: /cors/cors-safelisted-request-header.any.html
mem avail: 13945 of 15806 MiB (88 %), swap free: 0 of 0 MiB ( 0 %)
0:55.84 TEST_END: Test OK. Subtests passed 41/42. Unexpected 1
FAIL No preflight for {"last-event-id":"abc123"} - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
0:55.84 TEST_START: /cors/cors-safelisted-request-header.any.worker.html
0:55.85 INFO Closing window 4b9e2b77-55bd-4f8a-a588-0957e9839f87
0:58.06 TEST_END: Test OK. Subtests passed 41/42. Unexpected 1
FAIL No preflight for {"last-event-id":"abc123"} - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
0:58.06 TEST_START: /eventsource/eventsource-cross-origin-preflight.window.html
0:58.06 INFO Closing window 93ad2a34-4b8e-47de-9c90-1fb52f7a94ca
0:58.73 TEST_END: Test OK. Subtests passed 1/3. Unexpected 2
FAIL EventSource: cross-origin preflight - unsafe `last-event-id` (preflight because too long) - assert_unreached: expected preflight, did not get one Reached unreachable code
@http://web-platform.test:8000/eventsource/eventsource-cross-origin-preflight.window.js:41:25
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2717:32
FAIL EventSource: cross-origin preflight - unsafe `last-event-id` (preflight because unsafe characters) - assert_unreached: expected preflight, did not get one Reached unreachable code
@http://web-platform.test:8000/eventsource/eventsource-cross-origin-preflight.window.js:41:25
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2717:32
0:58.73 TEST_START: /fetch/api/cors/cors-no-preflight.any.html
0:58.73 INFO Closing window 15a70d03-584c-4e94-b5bf-1e72fa9ac41a
0:59.84 TEST_END: Test OK. Subtests passed 15/17. Unexpected 2
FAIL Cross domain [GET] [Last-Event-ID: evt-14] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."FAIL Cross domain [GET] [Last-Event-ID: EvT-15] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
0:59.84 TEST_START: /fetch/api/cors/cors-no-preflight.any.worker.html
0:59.84 INFO Closing window 11b2ad95-8e0c-41b2-907c-6b25091a25ae
1:00.90 TEST_END: Test OK. Subtests passed 15/17. Unexpected 2
FAIL Cross domain [GET] [Last-Event-ID: evt-14] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."FAIL Cross domain [GET] [Last-Event-ID: EvT-15] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
1:00.90 TEST_START: /fetch/api/cors/cors-preflight-not-cors-safelisted.any.html
1:00.90 INFO Closing window 26646880-0d66-40ab-95d1-aab59ed5875f
1:02.33 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
1:02.33 TEST_START: /fetch/api/cors/cors-preflight-not-cors-safelisted.any.worker.html
1:02.33 INFO Closing window 74864e5c-ba4e-47a2-a195-e4afd6455f8a
1:03.76 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
1:03.76 TEST_START: /fetch/api/headers/headers-no-cors.any.worker.html
1:03.76 INFO Closing window 438f7341-9eaf-4c31-b7c6-b826d16d4155
1:03.95 TEST_END: Test OK. Subtests passed 29/29. Unexpected 0
1:03.95 TEST_START: /fetch/api/headers/headers-no-cors.any.serviceworker.html
1:03.95 INFO Closing window d5ec1427-9911-41db-8326-477340491533
1:04.49 TEST_END: Test OK. Subtests passed 29/29. Unexpected 0
1:04.49 TEST_START: /fetch/api/headers/headers-no-cors.any.sharedworker.html
1:04.50 INFO Closing window 44c3f707-f65f-4708-81a3-c2d047e535df
1:04.85 TEST_END: Test OK. Subtests passed 29/29. Unexpected 0
1:04.85 TEST_START: /fetch/api/headers/headers-no-cors.any.html
1:04.85 INFO Closing window 6bce45df-9184-4ab8-a1b3-ff711c7eeb54
1:05.09 TEST_END: Test OK. Subtests passed 29/29. Unexpected 0
1:05.09 TEST_START: /xhr/access-control-basic-cors-safelisted-request-headers.htm
1:05.10 INFO Closing window 2863e6af-4c0b-4984-ad81-aaa8641aaf1d
1:05.38 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Request with CORS-safelisted headers - A network error occurred.
@http://web-platform.test:8000/xhr/access-control-basic-cors-safelisted-request-headers.htm:22:11
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/xhr/access-control-basic-cors-safelisted-request-headers.htm:11:9
1:05.38 TEST_START: /xhr/access-control-basic-non-cors-safelisted-last-event-id.htm
1:05.39 INFO Closing window f1cec536-d118-40b0-9ff9-2a9714cce80b
1:05.66 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Deny cross-origin request with non-CORS-safelisted last-event-id value - A network error occurred.
@http://web-platform.test:8000/xhr/access-control-basic-non-cors-safelisted-last-event-id.htm:17:11
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/xhr/access-control-basic-non-cors-safelisted-last-event-id.htm:11:9
1:05.66 INFO No more tests
1:05.66 pid:1375 1742537359594 Marionette INFO Stopped listening on port 39987
1:06.28 INFO Browser exited with return code -15
1:06.15 INFO Closing logging queue
1:06.15 INFO queue closed
1:06.30 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 280 checks (267 subtests, 13 tests)
Expected results: 270
Unexpected results: 10
subtest: 10 (10 fail)
Unexpected Results
------------------
/cors/cors-safelisted-request-header.any.html
FAIL No preflight for {"last-event-id":"abc123"} - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
/cors/cors-safelisted-request-header.any.worker.html
FAIL No preflight for {"last-event-id":"abc123"} - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
/eventsource/eventsource-cross-origin-preflight.window.html
FAIL EventSource: cross-origin preflight - unsafe `last-event-id` (preflight because too long) - assert_unreached: expected preflight, did not get one Reached unreachable code
@http://web-platform.test:8000/eventsource/eventsource-cross-origin-preflight.window.js:41:25
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2717:32
FAIL EventSource: cross-origin preflight - unsafe `last-event-id` (preflight because unsafe characters) - assert_unreached: expected preflight, did not get one Reached unreachable code
@http://web-platform.test:8000/eventsource/eventsource-cross-origin-preflight.window.js:41:25
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2717:32
/fetch/api/cors/cors-no-preflight.any.html
FAIL Cross domain [GET] [Last-Event-ID: evt-14] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
FAIL Cross domain [GET] [Last-Event-ID: EvT-15] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
/fetch/api/cors/cors-no-preflight.any.worker.html
FAIL Cross domain [GET] [Last-Event-ID: evt-14] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
FAIL Cross domain [GET] [Last-Event-ID: EvT-15] - promise_test: Unhandled rejection with value: object "TypeError: NetworkError when attempting to fetch resource."
/xhr/access-control-basic-cors-safelisted-request-headers.htm
FAIL Request with CORS-safelisted headers - A network error occurred.
@http://web-platform.test:8000/xhr/access-control-basic-cors-safelisted-request-headers.htm:22:11
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/xhr/access-control-basic-cors-safelisted-request-headers.htm:11:9
/xhr/access-control-basic-non-cors-safelisted-last-event-id.htm
FAIL Deny cross-origin request with non-CORS-safelisted last-event-id value - A network error occurred.
@http://web-platform.test:8000/xhr/access-control-basic-non-cors-safelisted-last-event-id.htm:17:11
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2642:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/xhr/access-control-basic-non-cors-safelisted-last-event-id.htm:11:9
1:06.30 INFO Got 7 unexpected results, with 0 unexpected passes
1:06.30 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:06.46 wptserve INFO Stopped http server on 127.0.0.1:8446
1:06.46 wptserve INFO Stopped http server on 127.0.0.1:8445
1:06.46 wptserve INFO Stopped http server on 127.0.0.1:8444
1:06.46 wptserve INFO Stopped http server on 127.0.0.1:9000
1:06.46 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:06.46 wptserve INFO Stopped http server on 127.0.0.1:8003
1:06.46 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:06.47 wptserve INFO Stopped http server on 127.0.0.1:8002
1:06.48 wptserve INFO Stopped http server on 127.0.0.1:8443
1:06.59 wptserve INFO Stopped http server on 127.0.0.1:8001
1:06.63 wptserve INFO Stopped http server on 127.0.0.1:8000
1:06.67 INFO Removed font: Ahem.ttf
1:06.70 INFO Closing logging queue
1:06.70 INFO queue closed
1:06.70 INFO Tolerating 7 unexpected results
[taskcluster 2025-03-21 06:09:22.648Z] === Task Finished ===
[taskcluster 2025-03-21 06:09:23.378Z] Successful task run with exit code: 0 completed in 182.218 seconds