Skip to content

tests: enable service workers for the html suite - #45509

Closed
Kidsan wants to merge 1 commit into
servo:mainfrom
Kidsan:html-serviceworker-tests
Closed

Kidsan wants to merge 1 commit into
servo:mainfrom
Kidsan:html-serviceworker-tests

Conversation

@Kidsan

@Kidsan Kidsan commented Jun 9, 2026

Copy link
Copy Markdown

Enable dom_serviceworker_enabled for the html WPT suite

Testing: WPT html (5 runs)
Fixes: Part of #45331

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 9, 2026

@mrobinson mrobinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Service workers currently cause crashes on CI. For instance in https://github.com/servo/servo/actions/runs/27202400822, there are many crashes in the "Flaky unexpected result". We should not enable service workers for any more tests until this issue is fixed.

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 9, 2026
@mrobinson mrobinson added the T-linux-wpt Do a try run of the WPT label Jun 10, 2026
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Jun 10, 2026
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#27304744101) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#27304744101):

Flaky unexpected result (62)
  • OK /IndexedDB/transaction-create_in_versionchange.any.worker.html
    • FAIL [expected PASS] subtest: Attempt to create new transactions inside a versionchange transaction

      assert_array_equals: events expected property 4 to be "open_rq.success: [object IDBDatabase]" but got "complete_count.success: 2" (expected array ["versionchange_add.success: 1", "versionchange_count.success: 0", "versionchange_add2.success: 2", "versionchange_txn.complete", "open_rq.success: [object IDBDatabase]", "complete_count.success: 2", "complete2_get.success: 1"] got ["versionchange_add.success: 1", "versionchange_count.success: 0", "versionchange_add2.success: 2", "versionchange_txn.complete", "complete_count.success: 2", "open_rq.success: [object IDBDatabase]", "complete2_get.success: 1"])
      

  • CRASH [expected OK] /_webgl/conformance/textures/canvas_sub_rectangle/tex-2d-rgb-rgb-unsigned_byte.html
  • OK /_webgl/conformance/textures/misc/texture-upload-size.html (#21770)
    • FAIL [expected PASS] subtest: WebGL test #45

      assert_true: Texture was smaller than the expected size 2x2 expected true got false
      

    • FAIL [expected PASS] subtest: WebGL test #47

      assert_true: getError expected: INVALID_VALUE. Was NO_ERROR : when calling texSubImage2D with the same texture upload with offset 1, 1 expected true got false
      

    • FAIL [expected PASS] subtest: WebGL test #49

      assert_true: Texture was smaller than the expected size 2x2 expected true got false
      

    • FAIL [expected PASS] subtest: WebGL test #51

      assert_true: getError expected: INVALID_VALUE. Was NO_ERROR : when calling texSubImage2D with the same texture upload with offset 1, 1 expected true got false
      

    • PASS [expected FAIL] subtest: WebGL test #53
    • PASS [expected FAIL] subtest: WebGL test #55
    • PASS [expected FAIL] subtest: WebGL test #57
    • PASS [expected FAIL] subtest: WebGL test #59
    • FAIL [expected PASS] subtest: WebGL test #61

      assert_true: Texture was smaller than the expected size 2x2 expected true got false
      

    • FAIL [expected PASS] subtest: WebGL test #63

      assert_true: getError expected: INVALID_VALUE. Was NO_ERROR : when calling texSubImage2D with the same texture upload with offset 1, 1 expected true got false
      

    • And 10 more unexpected results...
  • FAIL [expected PASS] /css/css-backgrounds/background-size-041.html
  • OK [expected ERROR] /fetch/fetch-later/quota/same-origin-iframe/sandboxed-iframe.https.window.html (#41704)
  • TIMEOUT /fetch/metadata/generated/css-images.sub.tentative.html (#29047)
    • FAIL [expected PASS] subtest: content sec-fetch-site - HTTPS downgrade-upgrade

      assert_unreached: Reached unreachable code
      

  • OK [expected ERROR] /focus/focus-event-after-switching-iframes.sub.html (#40368)
  • CRASH [expected TIMEOUT] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-user-click-during-pageshow.html
  • OK /html/browsers/history/the-history-interface/traverse_the_history_2.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/history/the-history-interface/traverse_the_history_3.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/history/the-history-interface/traverse_the_history_4.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/history/the-history-interface/traverse_the_history_5.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/windows/browsing-context-names/duplicate-name-order.html (#34623)
    • PASS [expected FAIL] subtest: Duplicate name lookup order
  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-nav-location-replace-set-src.html (#32697)
    • PASS [expected FAIL] subtest: Navigating iframe loading='lazy' and then setting src: location.replace
  • OK /html/semantics/forms/form-submission-0/jsurl-form-submit.tentative.html (#36489)
    • PASS [expected FAIL] subtest: Verifies that form submissions scheduled inside javascript: urls take precedence over the javascript: url's return value.
  • TIMEOUT [expected OK] /html/semantics/links/links-created-by-a-and-area-elements/rel-opener-prevents-browsing-context-group-change.tentative.html
    • TIMEOUT [expected PASS] subtest: rel=opener prevents browsing context group change

      Test timed out
      

    • NOTRUN [expected PASS] subtest: opener window feature prevents browsing context group change
  • OK /html/semantics/scripting-1/the-script-element/execution-timing/077.html (#22139)
    • FAIL [expected PASS] subtest: adding several types of scripts through the DOM and removing some of them confuses scheduler

      assert_array_equals: expected property 1 to be "Script #1 ran" but got "Script #3 ran" (expected array ["Script #2 ran", "Script #1 ran", "Script #3 ran", "Script #4 ran"] got ["Script #2 ran", "Script #3 ran", "Script #4 ran", "Script #1 ran"])
      

  • OK /html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker.html (#33909)
    • FAIL [expected PASS] subtest: Revoking a blob URL immediately after calling import will not fail

      promise_test: Unhandled rejection with value: object "TypeError: Module fetching failed"
      

  • OK /html/semantics/scripting-1/the-script-element/module/modulepreload-referrerpolicy.html
    • FAIL [expected PASS] subtest: Modulepreload with strict-origin policy should send origin-only referrer

      assert_equals: Modulepreload with strict-origin policy should send origin-only referrer expected "http://web-platform.test:8000/" but got ""
      

  • OK /html/user-activation/propagation-same-and-cross-origin.sub.html
    • FAIL [expected PASS] subtest: Check that activating a same-origin navigable doesn't activate a cross origin navigable

      assert_true: top-frame navigator.userActivation.isActive must be true expected true got false
      

  • CRASH [expected OK] /html/webappapis/scripting/processing-model-2/runtime-error-same-origin-with-hash.html
  • OK /infrastructure/testdriver/click_iframe.html
    • FAIL [expected PASS] subtest: TestDriver click on a document in an iframe

      Unhandled rejection: assert_unreached: click failed Reached unreachable code
      

  • TIMEOUT [expected OK] /pointerevents/compat/pointerevent_touch-action_two-finger_interaction.html (#44693)
    • NOTRUN [expected PASS] subtest: touch two-finger pan on 'touch-action: pan-x pan-y'
    • NOTRUN [expected FAIL] subtest: touch two-finger pan on 'touch-action: pinch-zoom'
  • OK /pointerevents/pointerevent_pointercapture_in_frame.html?pen
    • FAIL [expected PASS] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.

      assert_true: Timed out waiting for lostpointercapture expected true got false
      

    • FAIL [expected PASS] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.

      assert_array_equals: Received events: innerFrame received pointerdown,innerFrame received pointermove,innerFrame received pointerup,innerFrame received lostpointercapture lengths differ, expected array ["innerFrame received pointerdown", "innerFrame received pointermove", "innerFrame received pointerup"] length 3, got ["innerFrame received pointerdown", "innerFrame received pointermove", "innerFrame received pointerup", "innerFrame received lostpointercapture"] length 4
      

  • OK /preload/prefetch-document.html (#37210)
    • FAIL [expected PASS] subtest: different-site document prefetch with 'as=document' should not be consumed

      assert_equals: expected 2 but got 1
      

  • CRASH [expected OK] /streams/transferable/transform-stream-members.any.html
  • OK /touch-events/single-tap-when-touchend-listener-use-sync-xhr.html (#41175)
    • PASS [expected FAIL] subtest: Click event should be fired when touchend opens synchronous XHR
  • OK [expected TIMEOUT] /trusted-types/trusted-types-navigation.html?01-05 (#38975)
    • PASS [expected TIMEOUT] subtest: Navigate a window via anchor with javascript:-urls in report-only mode.
    • PASS [expected NOTRUN] subtest: Navigate a window via anchor with javascript:-urls w/ default policy in report-only mode.
    • PASS [expected NOTRUN] subtest: Navigate a frame via anchor with javascript:-urls in enforcing mode.
  • OK [expected TIMEOUT] /trusted-types/trusted-types-navigation.html?11-15 (#44834)
    • PASS [expected TIMEOUT] subtest: Navigate a window via area with javascript:-urls in report-only mode.
  • OK [expected TIMEOUT] /trusted-types/trusted-types-navigation.html?26-30 (#38807)
    • PASS [expected TIMEOUT] subtest: Navigate a window via form-submission with javascript:-urls in report-only mode.
    • PASS [expected NOTRUN] subtest: Navigate a window via form-submission with javascript:-urls w/ default policy in report-only mode.
    • PASS [expected NOTRUN] subtest: Navigate a frame via form-submission with javascript:-urls in enforcing mode.
    • PASS [expected NOTRUN] subtest: Navigate a frame via form-submission with javascript:-urls w/ default policy in enforcing mode.
  • OK /webdriver/tests/classic/dismiss_alert/dismiss.py (#39098)
    • FAIL [expected PASS] subtest: test_dismiss_in_popup_window

      AssertionError: no such alert (404): No user prompt is currently active.
      

  • CRASH [expected TIMEOUT] /workers/SharedWorker_dataUrl.html
  • CRASH [expected ERROR] /workers/Worker-custom-event.any.serviceworker.html
  • CRASH [expected OK] /workers/Worker-location.sub.any.worker.html
  • CRASH [expected OK] /workers/Worker-nested-importScripts-error.html
  • CRASH [expected OK] /workers/WorkerGlobalScope_ErrorEvent_colno.htm
  • CRASH [expected OK] /workers/WorkerLocation_search.htm
  • CRASH [expected OK] /workers/WorkerLocation_search_empty.htm
  • CRASH [expected ERROR] /workers/WorkerNavigator.any.serviceworker.html
  • CRASH [expected OK] /workers/constructors/SharedWorker/global-members.html
  • CRASH [expected OK] /workers/constructors/SharedWorker/null-arguments.html
  • CRASH [expected OK] /workers/constructors/Worker/AbstractWorker.onerror.html
  • CRASH [expected OK] /workers/constructors/Worker/ctor-null.html
  • CRASH [expected OK] /workers/constructors/Worker/expected-self-properties.worker.html
  • CRASH [expected OK] /workers/examples/fetch_tests_from_worker.html
  • CRASH [expected ERROR] /workers/importscripts_mime.any.sharedworker.html
  • CRASH [expected ERROR] /workers/importscripts_mime_local.any.sharedworker.html
  • CRASH [expected OK] /workers/interfaces/DedicatedWorkerGlobalScope/EventTarget.worker.html
  • CRASH [expected OK] /workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-dictionary.html
  • CRASH [expected OK] /workers/interfaces/DedicatedWorkerGlobalScope/postMessage/structured-clone-imagedata.html
  • CRASH [expected OK] /workers/interfaces/SharedWorkerGlobalScope/name/setting.html
  • CRASH [expected OK] /workers/interfaces/WorkerGlobalScope/location/setting-members.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/WindowTimers/003.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/importScripts/004.html
  • CRASH [expected ERROR] /workers/interfaces/WorkerUtils/importScripts/catch.sub.any.serviceworker.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/importScripts/catch.sub.any.worker.html
  • CRASH [expected ERROR] /workers/interfaces/WorkerUtils/importScripts/report-error-same-origin.sub.any.sharedworker.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/navigator/002.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/navigator/004.html
  • CRASH [expected TIMEOUT] /workers/opaque-origin.html
  • CRASH [expected OK] /xhr/abort-after-receive.any.worker.html
  • CRASH [expected OK] /xhr/abort-after-timeout.any.html
Stable unexpected results that are known to be intermittent (17)
  • TIMEOUT [expected OK] /content-security-policy/inheritance/auxiliary-blank-document.html (#44821)
    • TIMEOUT [expected PASS] subtest: window.open() inherits CSPs on transient about:blank.

      Test timed out
      

  • OK [expected CRASH] /content-security-policy/meta/sandbox-iframe.html (#43478)
    • FAIL [expected PASS] subtest: img-src 'self' works when specified in a meta tag.

      assert_equals: expected "PASS" but got "FAIL"
      

  • PASS [expected FAIL] /css/css-fonts/font-feature-settings-descriptor-01.html (#45418)
  • OK /fetch/metadata/window-open.https.sub.html (#40339)
    • FAIL [expected PASS] subtest: Cross-site window, forced, reloaded

      The operation is insecure.
      

  • OK [expected TIMEOUT] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-requestsubmit.html (#44098)
    • FAIL [expected TIMEOUT] subtest: Replace before load, triggered by formElement.requestSubmit()

      assert_equals: expected "http://web-platform.test:8000/common/blank.html?thereplacement=" but got "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/resources/code-injector.html?pipe=sub(none)&code=%0A%20%20%20%20const%20form%20%3D%20document.createElement(%22form%22)%3B%0A%20%20%20%20form.action%20%3D%20%22%2Fcommon%2Fblank.html%22%3B%0A%0A%20%20%20%20const%20input%20%3D%20document.createElement(%22input%22)%3B%0A%20%20%20%20input.type%20%3D%20%22hidden%22%3B%0A%20%20%20%20input.name%20%3D%20%22thereplacement%22%3B%0A%20%20%20%20form.append(input)%3B%0A%0A%20%20%20%20document.currentScript.before(form)%3B%0A%20%20%20%20form.requestSubmit()%3B%0A%20%20"
      

  • OK /html/semantics/scripting-1/the-script-element/module/choice-of-error-1.html (#44058)
    • FAIL [expected PASS] subtest: Parse errors in different files should be reported depending on different roots

      assert_not_equals: two different parse errors should be reported got disallowed value object "SyntaxError: expected expression, got '%'"
      

  • OK /html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.html (#33948)
    • FAIL [expected PASS] subtest: Revoking a blob URL immediately after calling import will not fail

      promise_test: Unhandled rejection with value: object "TypeError: Module fetching failed"
      

  • OK /html/user-activation/navigation-state-reset-sameorigin.html (#45151)
    • FAIL [expected PASS] subtest: Post-navigation state reset.

      assert_true: child-two sticky user activation state after loaded expected true got false
      

  • OK /html/webappapis/user-prompts/print-during-unload.html (#35944)
    • FAIL [expected PASS] subtest: print() during unload

      assert_array_equals: expected property 1 to be "destination" but got "error: window.print is not a function" (expected array ["start", "destination"] got ["start", "error: window.print is not a function"])
      

  • TIMEOUT [expected OK] /infrastructure/testdriver/click_nested.html (#43887)
    • NOTRUN [expected FAIL] subtest: TestDriver click method with multiple windows and nested iframe
  • OK /navigation-timing/test-navigation-type-reload.html (#33334)
    • FAIL [expected PASS] subtest: Reload domInteractive > Original domInteractive

      assert_true: Reload domInteractive > Original domInteractive expected true got false
      

  • OK /resource-timing/buffer-full-add-then-clear.html (#40819)
    • FAIL [expected PASS] subtest: Test that if the buffer is cleared after entries were added to the secondary buffer, those entries make it into the primary one

      assert_equals: Number of entries does not match the expected value. expected 3 but got 0
      

  • OK /resource-timing/buffer-full-then-increased.html (#44408)
    • FAIL [expected PASS] subtest: Test that overflowing the buffer and immediately increasing its limit does not trigger the resourcetimingbufferfull event

      assert_equals: Number of entries does not match the expected value. expected 3 but got 1
      

  • OK /resource-timing/test_resource_timing.html (#25720)
    • PASS [expected FAIL] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (iframe)
    • PASS [expected FAIL] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (xmlhttprequest)
  • OK /resource-timing/test_resource_timing.https.html (#25216)
    • PASS [expected FAIL] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (xmlhttprequest)
  • OK [expected TIMEOUT] /trusted-types/trusted-types-navigation.html?31-35 (#38034)
    • PASS [expected TIMEOUT] subtest: Navigate a frame via form-submission with javascript:-urls w/ default policy in report-only mode.
    • FAIL [expected NOTRUN] subtest: Navigate a window via form-submission with javascript:-urls w/ a default policy throwing an exception in enforcing mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: \"No securitypolicyviolation reported!\""
      

    • FAIL [expected NOTRUN] subtest: Navigate a window via form-submission with javascript:-urls w/ a default policy throwing an exception in report-only mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: \"No securitypolicyviolation reported!\""
      

    • FAIL [expected NOTRUN] subtest: Navigate a window via form-submission with javascript:-urls w/ a default policy making the URL invalid in enforcing mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: \"No securitypolicyviolation reported!\""
      

  • TIMEOUT [expected OK] /webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.html (#29053)
    • TIMEOUT [expected FAIL] subtest: StorageKey: test 3P about:blank window opened from a 3P iframe

      Test timed out
      

Stable unexpected results (1)
  • TIMEOUT [expected ERROR] /html/semantics/embedded-content/the-img-element/list-of-available-images-matching.https.html
    • TIMEOUT [expected PASS] subtest: registering service worker

      Test timed out
      

    • NOTRUN [expected PASS] subtest: list of available images tuple-matching logic
    • NOTRUN [expected PASS] subtest: unregistering service worker

@github-actions

Copy link
Copy Markdown

⚠️ Try run (#27304744101) failed!

@mrobinson mrobinson added the T-linux-wpt Do a try run of the WPT label Jun 11, 2026
@Kidsan
Kidsan force-pushed the html-serviceworker-tests branch from a889dc7 to 096eabb Compare June 15, 2026 13:53
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jun 15, 2026
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Jun 15, 2026
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#27551197881) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#27551197881):

Flaky unexpected result (48)
  • CRASH [expected OK] /content-security-policy/meta/sandbox-iframe.html (#43478)
  • OK [expected ERROR] /fetch/fetch-later/quota/same-origin-iframe/multiple-iframes.https.window.html (#35176)
  • CRASH [expected OK] /html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html
  • TIMEOUT [expected ERROR] /html/browsers/history/the-location-interface/location_replace_session_history.html (#41896)
  • CRASH [expected OK] /html/document-isolation-policy/credentialless-cache-storage-from-credentialless.https.tentative.window.html?service_worker
  • OK [expected TIMEOUT] /html/infrastructure/urls/base-url/document-base-url-window-initiator-is-not-opener.https.window.html (#30970)
  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/document-with-fragment-empty.html (#28259)
    • TIMEOUT [expected FAIL] subtest: Autofocus elements in top-level browsing context's documents with empty fragments should work.

      Test timed out
      

  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/document-with-fragment-nonexistent.html (#28259)
    • TIMEOUT [expected FAIL] subtest: Autofocus elements in top-level browsing context's documents with non-existent fragments should work.

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/embedded-content/media-elements/src_object_blob.html (#40340)
    • TIMEOUT [expected PASS] subtest: HTMLMediaElement.srcObject blob

      Test timed out
      

  • OK /html/semantics/scripting-1/the-script-element/execution-timing/077.html (#22139)
    • PASS [expected FAIL] subtest: adding several types of scripts through the DOM and removing some of them confuses scheduler
  • OK /html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker-module.html (#43510)
    • FAIL [expected PASS] subtest: Revoking a blob URL immediately after calling import will not fail

      promise_test: Unhandled rejection with value: object "TypeError: Module fetching failed"
      

  • TIMEOUT [expected OK] /pointerevents/compat/pointerevent_touch-action_two-finger_interaction.html (#44693)
    • NOTRUN [expected PASS] subtest: touch two-finger pan on 'touch-action: pan-x pan-y'
    • NOTRUN [expected FAIL] subtest: touch two-finger pan on 'touch-action: pinch-zoom'
  • OK /resource-timing/test_resource_timing.html (#25720)
    • PASS [expected FAIL] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (link)
  • TIMEOUT [expected OK] /trusted-types/trusted-types-navigation.html?16-20 (#44835)
    • FAIL [expected PASS] subtest: Navigate a frame via area with javascript:-urls in report-only mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: \"No securitypolicyviolation reported!\""
      

    • TIMEOUT [expected PASS] subtest: Navigate a frame via area with javascript:-urls w/ default policy in report-only mode.

      Test timed out
      

  • OK /visual-viewport/resize-event-order.html (#41981)
    • PASS [expected FAIL] subtest: Popup: DOMWindow resize fired before VisualViewport.
  • OK /webdriver/tests/classic/accept_alert/accept.py (#43194)
    • FAIL [expected PASS] subtest: test_accept_in_popup_window

      AssertionError: no such alert (404): No user prompt is currently active.
      

  • OK /webdriver/tests/classic/dismiss_alert/dismiss.py (#39098)
    • FAIL [expected PASS] subtest: test_dismiss_in_popup_window

      AssertionError: no such alert (404): No user prompt is currently active.
      

  • OK /webdriver/tests/classic/execute_script/properties.py
    • FAIL [expected PASS] subtest: test_content_attribute

      AssertionError: script timeout (500)
      

  • CRASH [expected OK] /workers/SharedWorker-extendedLifetime-data.html
  • CRASH [expected ERROR] /workers/Worker-base64.any.sharedworker.html
  • CRASH [expected OK] /workers/Worker-creation-happens-in-parallel.https.html
  • CRASH [expected ERROR] /workers/Worker-location.sub.any.sharedworker.html
  • CRASH [expected OK] /workers/Worker-multi-port.html
  • CRASH [expected OK] /workers/WorkerGlobalScope_ErrorEvent_lineno.htm
  • CRASH [expected OK] /workers/WorkerLocation-origin.sub.window.html
  • CRASH [expected OK] /workers/WorkerLocation_search_empty.htm
  • CRASH [expected OK] /workers/constructors/SharedWorker/global-members.html
  • CRASH [expected OK] /workers/constructors/SharedWorker/port-readonly.html
  • CRASH [expected OK] /workers/constructors/Worker/AbstractWorker.onerror.html
  • CRASH [expected OK] /workers/constructors/Worker/constructor-utf16-bom.html
  • CRASH [expected OK] /workers/constructors/Worker/use-base-url.html
  • CRASH [expected OK] /workers/dedicated-worker-parse-error-failure.html
  • CRASH [expected OK] /workers/examples/fetch_tests_from_worker.html
  • CRASH [expected ERROR] /workers/examples/onconnect.any.sharedworker.html
  • CRASH [expected OK] /workers/interfaces/DedicatedWorkerGlobalScope/postMessage/event-ports-dedicated.html
  • CRASH [expected OK] /workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-dictionary.html
  • CRASH [expected OK] /workers/interfaces/SharedWorkerGlobalScope/onconnect.html
  • CRASH [expected OK] /workers/interfaces/WorkerGlobalScope/onerror/exception-in-onerror.html
  • CRASH [expected OK] /workers/interfaces/WorkerGlobalScope/onerror/handled.html
  • CRASH [expected TIMEOUT] /workers/interfaces/WorkerGlobalScope/onerror/message-classic-DOMException.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/WindowTimers/002.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/importScripts/005.html
  • CRASH [expected ERROR] /workers/interfaces/WorkerUtils/importScripts/report-error-redirect-to-cross-origin.sub.any.sharedworker.html
  • CRASH [expected OK] /workers/interfaces/WorkerUtils/navigator/003.html
  • CRASH [expected OK] /workers/modules/shared-worker-import-csp.html
  • CRASH [expected OK] /workers/modules/shared-worker-import-failure.html
  • CRASH [expected OK] /xhr/event-readystatechange-loaded.any.worker.html
  • CRASH [expected OK] /xhr/overridemimetype-done-state.any.html
Stable unexpected results that are known to be intermittent (14)
  • TIMEOUT /FileAPI/url/url-in-tags-revoke.window.html (#19978)
    • PASS [expected TIMEOUT] subtest: Fetching a blob URL immediately before revoking it works in <script> tags.
  • PASS [expected FAIL] /css/css-fonts/font-feature-settings-descriptor-01.html (#45418)
  • OK [expected TIMEOUT] /fetch/api/redirect/redirect-keepalive.https.any.html (#32153)
    • PASS [expected TIMEOUT] subtest: [keepalive][iframe][load] mixed content redirect; setting up
  • ERROR [expected OK] /fetch/fetch-later/quota/same-origin-iframe/accumulated-oversized-payload.https.window.html (#41705)
  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html (#20768)
    • PASS [expected FAIL] subtest: Tests that a fragment navigation in the unload handler will not block the initial navigation
  • OK /html/browsers/history/the-history-interface/traverse_the_history_4.html (#21383)
    • FAIL [expected PASS] subtest: Multiple history traversals, last would be aborted

      assert_array_equals: Pages opened during history navigation expected property 1 to be 5 but got 3 (expected array [6, 5] got [6, 3])
      

  • OK /html/semantics/embedded-content/media-elements/media_fragment_seek.html (#24114)
    • PASS [expected FAIL] subtest: Video should seek to time specified in media fragment syntax
  • OK /html/semantics/forms/form-submission-0/jsurl-form-submit.tentative.html (#36489)
    • FAIL [expected PASS] subtest: Verifies that form submissions scheduled inside javascript: urls take precedence over the javascript: url's return value.

      assert_equals: expected "/html/semantics/forms/form-submission-0/resources/form.html" but got "/html/semantics/forms/form-submission-0/resources/jsurl-form-submit-iframe.html"
      

  • OK [expected TIMEOUT] /infrastructure/testdriver/click_nested.html (#43887)
    • FAIL [expected NOTRUN] subtest: TestDriver click method with multiple windows and nested iframe

      can't access property "document", child.frames[2] is undefined
      

  • OK /pointerevents/pointerevent_pointercapture_in_frame.html?pen (#45536)
    • FAIL [expected PASS] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.

      assert_true: Timed out waiting for lostpointercapture expected true got false
      

    • FAIL [expected PASS] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.

      assert_array_equals: Received events: innerFrame received pointerdown,innerFrame received pointermove,innerFrame received pointerup,innerFrame received lostpointercapture lengths differ, expected array ["innerFrame received pointerdown", "innerFrame received pointermove", "innerFrame received pointerup"] length 3, got ["innerFrame received pointerdown", "innerFrame received pointermove", "innerFrame received pointerup", "innerFrame received lostpointercapture"] length 4
      

  • OK /preload/prefetch-document.html (#37210)
    • PASS [expected FAIL] subtest: different-site document prefetch with 'as=document' should not be consumed
  • OK [expected CRASH] /resource-timing/render-blocking-status-link.html (#41664)
    • FAIL [expected PASS] subtest: Validate render blocking status of link resources in PerformanceResourceTiming

      assert_equals: render blocking status for http://web-platform.test:8000/resource-timing/resources/empty_style.css?stylesheet-head-dynamic-docWrite should be blocking expected (string) "blocking" but got (undefined) undefined
      

  • OK /sanitizer-api/sanitizer-inert-document.html (#45260)
    • PASS [expected FAIL] subtest: Test whether setHTML loads the image.
    • FAIL [expected PASS] subtest: Test whether setHTMLUnsafe loads the image.

      promise_test: Unhandled rejection with value: "The server observed a request. It shouldn't have."
      

  • TIMEOUT [expected OK] /webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.html (#29053)
    • TIMEOUT [expected FAIL] subtest: StorageKey: test 3P about:blank window opened from a 3P iframe

      Test timed out
      

Stable unexpected results (16)
  • OK [expected CRASH] /html/anonymous-iframe/embedding.tentative.https.window.html?9-9
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and sw set to 0
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and sh set to 0
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and oversized (unallocatable) crop region
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and a value of 0 int resizeWidth
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and a value of 0 in resizeHeight
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and a value between 0 and 1 in resizeWidth
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and a value between 0 and 1 in resizeHeight
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source and sw set to 0
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source and sh set to 0
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region
    • And 4 more unexpected results...
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-premultiplyAlpha.html
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-resolves-in-task.any.html
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and invalid cropHeight should reject sync
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source and invalid resizeHeight should reject sync
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement source should resolve async
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source and invalid cropHeight should reject sync
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source and invalid resizeHeight should reject sync
    • PASS [expected FAIL] subtest: createImageBitmap with an HTMLVideoElement from a data URL source should resolve async
  • OK /html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html
    • PASS [expected FAIL] subtest: Serialize ImageBitmap created from an HTMLVideoElement
    • PASS [expected FAIL] subtest: Serialize ImageBitmap created from an HTMLVideoElement from a data URL
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html
    • PASS [expected FAIL] subtest: Transfer ImageBitmap created from an HTMLVideoElement
    • PASS [expected FAIL] subtest: Transfer ImageBitmap created from an HTMLVideoElement from a data URL
  • OK /html/canvas/element/text/2d.text.measure.width.nullCharacter.html
    • FAIL [expected PASS] subtest: Null character does not take up space

      assert_equals: ctx.measureText('\u0000').width === 0 (got 50[number], expected 0[number]) expected 0 but got 50
      

  • OK /html/canvas/offscreen/text/2d.text.measure.width.nullCharacter.html
    • FAIL [expected PASS] subtest: Null character does not take up space

      assert_equals: ctx.measureText('\u0000').width === 0 (got 10[number], expected 0[number]) expected 0 but got 10
      

  • OK [expected CRASH] /html/semantics/embedded-content/media-elements/loading-the-media-resource/load-removes-queued-error-event.html
  • ERROR [expected CRASH] /html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-currentSrc.html
  • ERROR [expected CRASH] /html/semantics/forms/the-select-element/customizable-select/select-appearance-button-after-text.html
  • OK [expected CRASH] /html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html
  • OK [expected CRASH] /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/allow-crossorigin.html

@github-actions

Copy link
Copy Markdown

⚠️ Try run (#27551197881) failed!

@Kidsan

Kidsan commented Jun 15, 2026

Copy link
Copy Markdown
Author

Not quite sure what I have done wrong here. I enabled the html suite, ran mach test-wpt --release --log-raw <file> html a few times and got the same result counts, then mach update-wpt <file> to update the expactations. Appreciate any input 👍

@TimvdLippe

Copy link
Copy Markdown
Contributor

Local runs don't necessarily reflect the way tests run on CI and thus you may get different output: https://book.servo.org/contributing/testing.html#updating-web-platform-test-expectations

Therefore, I suggest you revert all test expectation changes, run WPT on your fork (see the linked page) and then use the update command with the GitHub action link (instructions also on the linked page). Then you get the "pristine" CI output.

@TimvdLippe

Copy link
Copy Markdown
Contributor

@Kidsan are you able to perform the steps as listed above such that we see the updated expectations and can merge this PR?

@Kidsan
Kidsan force-pushed the html-serviceworker-tests branch 2 times, most recently from 4fc491e to 310304c Compare June 21, 2026 13:56
@Kidsan

Kidsan commented Jun 21, 2026

Copy link
Copy Markdown
Author

@Kidsan are you able to perform the steps as listed above such that we see the updated expectations and can merge this PR?

Sorry for the delay, running the tests on my fork now

@Kidsan
Kidsan force-pushed the html-serviceworker-tests branch from 310304c to 5a9a6ef Compare June 21, 2026 15:01

[messagechannel.any.serviceworker.html]
expected: ERROR
expected: CRASH

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gterzian Seems like this exposes several timeouts, which I think would mean we would put too much pressure on CI. Additionally it exposes a crash here. For ServiceWorker for the html/ test suite, I think we need a bit more implementation to make it run stable on CI?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to make it run stable on CI

Are those changes stable? Or do you mean to write: "without adding timeouts"?

In general, I think there are easier targets then html; things that do not do a lot of coordination, for example https://github.com/servo/servo/tree/main/tests/wpt/tests/compression

Look for test suites with lots of any.js files. @Kidsan

I'll update the issue also.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will try a different suite. Thanks for your help

@Kidsan Kidsan closed this Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants