Skip to content

[speculation-rules] Fire error events for invalid speculation rules#53821

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-a354fb49e4
Jul 22, 2025
Merged

[speculation-rules] Fire error events for invalid speculation rules#53821
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-a354fb49e4

Fire error events for invalid speculation rules

0d8d00f
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-stability succeeded Jul 22, 2025 in 7m 50s

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: 2025-07-22T18:37:42.606Z
Resolved: 2025-07-22T18:43:59.775Z
Task Execution Time: 6 minutes, 17 seconds, 169 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md

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=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-07-22 18:37:42.848Z] Task ID: eQxq61rBQWaaHsg3iPkpBg
[taskcluster 2025-07-22 18:37:42.849Z] Worker ID: 1351011889061192907
[taskcluster 2025-07-22 18:37:42.849Z] Worker Group: us-east1-d
[taskcluster 2025-07-22 18:37:42.849Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-07-22 18:37:42.849Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-07-22 18:37:42.849Z] Worker Version: 46.1.0
[taskcluster 2025-07-22 18:37:42.849Z] Public IP: 34.148.153.179
[taskcluster 2025-07-22 18:37:42.849Z] Hostname: proj-wpt-ci-oz-chrsnsjaocjmveexvhw

ac811f28856d - Started downloading
ac811f28856d - Downloaded in 0.031 seconds
8f84a9f2102e - Started downloading
40516d781e70 - Started downloading
44ebbf800033 - Started downloading
44ebbf800033 - Downloaded in 0.041 seconds
8f84a9f2102e - Downloaded in 0.213 seconds
a8884b21e40e - Started downloading
4f4fb700ef54 - Started downloading
4f4fb700ef54 - Downloaded in 0.003 seconds
79c347416ee8 - Started downloading

...(1151 lines hidden)...

  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
/speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
 4:02.31 INFO Got 18 unexpected results, with 0 unexpected passes
 4:02.31 INFO Repetition 10 / 10
 4:02.31 SUITE_START: web-platform-test - running 2 tests
 4:02.31 INFO Using 1 child processes
 4:02.33 INFO Setting up ssl
 4:02.35 certutil b''
 4:02.37 certutil b''
 4:02.38 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 4:02.38 INFO Application command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank -profile /tmp/tmpr42v1_1s
 4:02.39 INFO Starting runner
 4:02.39 pid:5449 Full command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank
pid:5449 [5449] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
 4:02.87 pid:5449 [GFX1-]: glxtest: libpci missing
 4:02.97 pid:5449 1753209812494	Marionette	INFO	Marionette enabled
 4:03.07 pid:5449 1753209812594	Marionette	INFO	Listening on port 48031
 4:03.08 pid:5449 [Parent 5449, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
 4:03.08 pid:5449 : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
 4:03.08 pid:5449 ** (firefox-nightly:5449): WARNING **: 18:43:32.600: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
 4:04.09 pid:5449 console.error: services.settings:
 4:04.09 pid:5449   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
 4:04.09 pid:5449   Stack:
 4:04.10 pid:5449     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
 4:04.10 pid:5449 list@resource://services-settings/Database.sys.mjs:96:13
 4:04.13 pid:5449 console.error: services.settings:
 4:04.13 pid:5449   Message: EmptyDatabaseError: "main/nimbus-secure-experiments" has not been synced yet
 4:04.13 pid:5449   Stack:
 4:04.13 pid:5449     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
 4:04.13 pid:5449 list@resource://services-settings/Database.sys.mjs:96:13
 4:04.59 TEST_START: /speculation-rules/external-speculation-rules-errors.html
 4:15.27 TEST_END: Test TIMEOUT, expected OK. Subtests passed 0/3. Unexpected 3
TIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.htmlTIMEOUT Test that an external speculation rules script fires an error event - Test timed outNOTRUN Test that an external speculation rules script fires an error event, regardless of attribute orderNOTRUN Test that an external speculation rules script in markup fires an error eventTIMEOUT /speculation-rules/external-speculation-rules-errors.html
 4:15.27 TEST_START: /speculation-rules/inline-speculation-rules-errors.html
 4:15.27 INFO Closing window 60993d08-a82d-4f73-bac3-7c6b148e36c7
 4:18.12 pid:5449 JavaScript error: resource:///modules/backup/BackupService.sys.mjs, line 108: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
 4:25.46 TEST_END: Test TIMEOUT, expected OK. Subtests passed 0/1. Unexpected 1
TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.htmlTIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed outTIMEOUT /speculation-rules/inline-speculation-rules-errors.html
 4:25.46 INFO No more tests
 4:25.46 pid:5449 1753209834984	Marionette	INFO	Stopped listening on port 48031
 4:26.05 INFO Browser exited with return code -15
 4:25.92 INFO Closing logging queue
 4:25.92 INFO queue closed
 4:26.06 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 60 checks (40 subtests, 20 tests)
Expected results: 0
Unexpected results: 60
  test: 20 (20 timeout)
  subtest: 40 (20 notrun, 20 timeout)

Unexpected Results
------------------
/speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
  TIMEOUT Test that an external speculation rules script fires an error event - Test timed out
  NOTRUN Test that an external speculation rules script fires an error event, regardless of attribute order
  NOTRUN Test that an external speculation rules script in markup fires an error event
  TIMEOUT /speculation-rules/external-speculation-rules-errors.html
/speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
  TIMEOUT A script with invalid JSON should fire error events on the element and window - Test timed out
  TIMEOUT /speculation-rules/inline-speculation-rules-errors.html
 4:26.06 INFO Got 20 unexpected results, with 0 unexpected passes
 4:26.07 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 4:26.11 wptserve INFO Stopped http server on 127.0.0.1:8000
 4:26.35 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 4:26.36 wptserve INFO Stopped http server on 127.0.0.1:8446
 4:26.36 wptserve INFO Stopped http server on 127.0.0.1:8003
 4:26.36 wptserve INFO Stopped http server on 127.0.0.1:8445
 4:26.37 wptserve INFO Stopped http server on 127.0.0.1:9000
 4:26.37 wptserve INFO Stopped http server on 127.0.0.1:8444
 4:26.37 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 4:26.37 wptserve INFO Stopped http server on 127.0.0.1:8443
 4:26.37 wptserve INFO Stopped http server on 127.0.0.1:8001
 4:26.37 wptserve INFO Stopped http server on 127.0.0.1:8002
 4:26.49 INFO Removed font: Ahem.ttf
 4:26.52 INFO Closing logging queue
 4:26.52 INFO queue closed
 4:26.53 INFO ::: Ran 10 of expected 10 iterations.
 4:26.53 INFO ## All results ##

 4:26.53 INFO ### /speculation-rules/external-speculation-rules-errors.html ###
 4:26.53 INFO |                                               Subtest                                                | Results |     Messages     |
 4:26.53 INFO |------------------------------------------------------------------------------------------------------|---------|------------------|
 4:26.53 INFO |                                                                                                      | TIMEOUT |                  |
 4:26.53 INFO | `Test that an external speculation rules script fires an error event`                                | TIMEOUT | `Test timed out` |
 4:26.53 INFO | `Test that an external speculation rules script fires an error event, regardless of attribute order` | NOTRUN  |                  |
 4:26.53 INFO | `Test that an external speculation rules script in markup fires an error event`                      | NOTRUN  |                  |
 4:26.53 INFO 
 4:26.53 INFO ### /speculation-rules/inline-speculation-rules-errors.html ###
 4:26.53 INFO |                                     Subtest                                     | Results |     Messages     |
 4:26.53 INFO |---------------------------------------------------------------------------------|---------|------------------|
 4:26.53 INFO |                                                                                 | TIMEOUT |                  |
 4:26.53 INFO | `A script with invalid JSON should fire error events on the element and window` | TIMEOUT | `Test timed out` |
 4:26.53 INFO 
 4:26.53 INFO ::: Running tests in a loop with restarts 10 times : PASS
 4:26.53 INFO :::
 4:26.53 INFO ::: Test verification PASS
 4:26.53 INFO :::
[taskcluster 2025-07-22 18:43:57.909Z] === Task Finished ===
[taskcluster 2025-07-22 18:43:58.344Z] Successful task run with exit code: 0 completed in 375.498 seconds