Skip to content

Revert "Bug 1981349 - Add referenceTarget support for label/for, labe…

6a94ebb
Select commit
Loading
Failed to load commit list.
Merged

[Gecko Bug 1981349] Revert "Bug 1981349 - Add referenceTarget support for label/for, label wrapped and output/for. " for causing accessibility crashes (bug 2008970) #57069

Revert "Bug 1981349 - Add referenceTarget support for label/for, labe…
6a94ebb
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results succeeded Jan 8, 2026 in 40m 8s

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: 2026-01-08T09:37:44.031Z
Resolved: 2026-01-08T09:42:19.909Z
Task Execution Time: 4 minutes, 35 seconds, 878 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 2026-01-08 09:37:44.098Z] Task ID: fq9_lfJqSXaeVx-F-F-z4A
[taskcluster 2026-01-08 09:37:44.098Z] Worker ID: 6061926409552778012
[taskcluster 2026-01-08 09:37:44.098Z] Worker Group: us-central1-c
[taskcluster 2026-01-08 09:37:44.098Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-01-08 09:37:44.098Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-01-08 09:37:44.098Z] Worker Version: 46.1.0
[taskcluster 2026-01-08 09:37:44.098Z] Public IP: 35.222.235.126
[taskcluster 2026-01-08 09:37:44.098Z] Hostname: proj-wpt-ci-bxa9fy2mrqy3wg1stfcaya

[taskcluster 2026-01-08 09:37:45.155Z] === 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/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh

...(512 lines hidden)...

  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 943, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1070, in do_testharness
    rv = protocol.testdriver.run(url, self.script_resume, test_window=test_window)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 489, in run
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 802, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")
ValueError: Selector '#\69 \6e \70 \75 \74 ' matches no elements

 1:14.31 pid:1429 1767865329730	Marionette	INFO	Stopped listening on port 43107
 1:15.14 INFO Browser exited with return code -15
 1:14.97 INFO Closing logging queue
 1:14.97 INFO queue closed
 1:15.15 INFO Application command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank -profile /tmp/tmp7pge0fnm
 1:15.16 INFO Starting runner
 1:15.17 pid:1953 Full command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank
pid:1953 [1953] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
 1:15.79 pid:1953 1767865331213	Marionette	INFO	Marionette enabled
 1:15.92 pid:1953 1767865331345	Marionette	INFO	Listening on port 38697
 1:15.93 pid:1953 [Parent 1953, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
 1:15.93 pid:1953 : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
 1:15.93 pid:1953 ** (firefox-nightly:1953): WARNING **: 09:42:11.354: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
 1:17.42 pid:1953 console.error: services.settings:
 1:17.42 pid:1953   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
 1:17.42 pid:1953   Stack:
 1:17.42 pid:1953     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
 1:17.42 pid:1953 list@resource://services-settings/Database.sys.mjs:96:13
 1:17.69 pid:1953 console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1245"  data: no]
 1:17.93 TEST_START: /shadow-dom/reference-target/tentative/label-for.html
 1:18.54 pid:1953 [Parent 1953, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
 1:18.55 WARNING Action get_computed_label failed with an unexpected exception
Traceback (most recent call last):

  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)

  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)

  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")

ValueError: Selector '#\69 \6e \70 \75 \74 \31 ' matches no elements

 1:18.56 WARNING Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 943, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1070, in do_testharness
    rv = protocol.testdriver.run(url, self.script_resume, test_window=test_window)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 489, in run
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 802, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")
ValueError: Selector '#\69 \6e \70 \75 \74 \31 ' matches no elements

 1:18.56 TEST_END: ERROR, expected OK - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 943, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1070, in do_testharness
    rv = protocol.testdriver.run(url, self.script_resume, test_window=test_window)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 489, in run
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 802, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")
ValueError: Selector '#\69 \6e \70 \75 \74 \31 ' matches no elements

 1:18.56 INFO No more tests
 1:18.56 pid:1953 1767865333982	Marionette	INFO	Stopped listening on port 38697
 1:19.42 INFO Browser exited with return code -15
 1:19.27 INFO Closing logging queue
 1:19.27 INFO queue closed
 1:19.43 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 16 checks (12 subtests, 4 tests)
Expected results: 2
Unexpected results: 14
  test: 2 (2 error)
  subtest: 12 (12 fail)

Unexpected Results
------------------
/shadow-dom/reference-target/tentative/dom-mutation.html
  FAIL Changing the ID of the referenced element results in an empty computed label - assert_equals: expected "Label 1" but got "Outside the label Label 1 Label 2"
setup_test@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:28:16
  FAIL Removing the referenced element results in an empty computed label - assert_equals: expected "Label 1" but got "Outside the label Label 1 Label 2"
setup_test@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:28:16
  FAIL New referenced element prepended to the shadow supercedes the existing label - assert_equals: expected "Label 1" but got "Outside the label Label 1 Label 2"
setup_test@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:28:16
  FAIL The existing label supercedes new element (with same id as the existing label) appended to the shadow - assert_equals: expected "Label 1" but got "Outside the label Label 1 Label 2"
setup_test@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:28:16
  FAIL Changing the reference target ID updates the computed label - assert_equals: expected "Label 1" but got "Outside the label Label 1 Label 2"
setup_test@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:28:16
  FAIL Changing the nested referenceTarget to reference a different element updates the computed label - assert_equals: expected "Real Label 1" but got "shadow tree level 1 shadow tree level 2 Real Label 1 Real Label 2"
setup_nested_reference_target@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:92:16
  FAIL Changing the ID of the nested referenced element results in an empty computed label - assert_equals: expected "Real Label 1" but got "shadow tree level 1 shadow tree level 2 Real Label 1 Real Label 2"
setup_nested_reference_target@http://web-platform.test:8000/shadow-dom/reference-target/tentative/dom-mutation.html:92:16
/shadow-dom/reference-target/tentative/form.html
  FAIL Reference target works with form attribute. - assert_equals: The .elements property should have 2 elements. expected 2 but got 1
testFormWithReferenceTarget/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:54:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testFormWithReferenceTarget@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:47:11
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:63:32
  FAIL Reference target works with form attribute via options. - assert_equals: The .elements property should have 2 elements. expected 2 but got 1
testFormWithReferenceTarget/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:54:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testFormWithReferenceTarget@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:47:11
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:64:32
  FAIL Reference target works with setAttribute('form') - assert_equals: The .elements property should have 2 elements. expected 2 but got 1
testFormWithReferenceTarget/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:54:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
testFormWithReferenceTarget@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:47:11
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:67:32
  FAIL Reference target works with form-associated custom element. - assert_equals: The .elements property should have 3 elements. expected 3 but got 2
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:98:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:91:9
  FAIL Reference target works with nested shadow trees. - assert_equals: The .elements property should have 3 elements. expected 3 but got 1
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:148:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:139:11
/shadow-dom/reference-target/tentative/label-descendant.html
  ERROR /shadow-dom/reference-target/tentative/label-descendant.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 943, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1070, in do_testharness
    rv = protocol.testdriver.run(url, self.script_resume, test_window=test_window)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 489, in run
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 802, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")
ValueError: Selector '#\69 \6e \70 \75 \74 ' matches no elements
/shadow-dom/reference-target/tentative/label-for.html
  ERROR /shadow-dom/reference-target/tentative/label-for.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 943, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1070, in do_testharness
    rv = protocol.testdriver.run(url, self.script_resume, test_window=test_window)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 489, in run
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 802, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 820, in process_action
    result = action_handler(params)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 50, in __call__
    element = self.protocol.select.element_by_selector(selector)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 291, in element_by_selector
    raise ValueError(f"Selector '{element_selector}' matches no elements")
ValueError: Selector '#\69 \6e \70 \75 \74 \31 ' matches no elements
 1:19.43 INFO Got 4 unexpected results, with 0 unexpected passes
 1:19.43 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:19.43 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:19.43 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:19.44 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:19.44 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:19.45 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:19.46 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:19.46 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:19.47 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:19.47 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:19.70 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:19.70 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:19.75 INFO Removed font: Ahem.ttf
 1:19.78 INFO Closing logging queue
 1:19.78 INFO queue closed
 1:19.78 INFO Tolerating 4 unexpected results
[taskcluster 2026-01-08 09:42:17.460Z] === Task Finished ===
[taskcluster 2026-01-08 09:42:18.408Z] Successful task run with exit code: 0 completed in 274.311 seconds