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-without-changes succeeded Jan 8, 2026 in 38m 18s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in firefox but without the changes in the PR.

Details

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

Task Status

Started: 2026-01-08T09:37:48.839Z
Resolved: 2026-01-08T09:40:30.151Z
Task Execution Time: 2 minutes, 41 seconds, 312 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 task_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:48.907Z] Task ID: H3hamelZQVKdsm68oqGWWA
[taskcluster 2026-01-08 09:37:48.907Z] Worker ID: 5236283315571643337
[taskcluster 2026-01-08 09:37:48.907Z] Worker Group: us-east1-d
[taskcluster 2026-01-08 09:37:48.907Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-01-08 09:37:48.907Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-01-08 09:37:48.907Z] Worker Version: 46.1.0
[taskcluster 2026-01-08 09:37:48.907Z] Public IP: 34.75.57.189
[taskcluster 2026-01-08 09:37:48.907Z] Hostname: proj-wpt-ci-ljnnpcbhr3-hqsq7eygiig

[taskcluster 2026-01-08 09:37:49.920Z] === 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

...(727 lines hidden)...

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
  FAIL Form association is updated when form is inserted in or removed from shadow DOM, including in nested shadow DOM - assert_equals: Once the form is connected, it has two associated form elements. expected 2 but got 1
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:203:20
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:177:9
  FAIL Form association works for image inputs, which aren't in the elements collection - assert_equals: expected Element node <fancy-form-7 id="fancy-form-7">
    
  </fancy-form-7> but got null
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:325:20
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:320:9
  FAIL Changing the reference target of a nested shadow root sets form association - assert_equals: Form is outer-fancy-form after reference target change expected Element node <fancy-form-8 id="fancy-form-8">
    
  </fancy-form-8> but got null
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/form.html:369:20
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:345:9
/shadow-dom/reference-target/tentative/label-descendant.html
  FAIL Label applies to descendant custom element that uses shadowrootreferencetarget (Input 1) - assert_equals: expected "Input 1" but got ""
testImplicitLabelAssociation/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:48:20
  FAIL Label applies to descendant custom element that uses shadowrootreferencetarget (Input 1 via Options) - assert_equals: expected "Input 1 via Options" but got ""
testImplicitLabelAssociation/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:48:20
  FAIL Label applies to multiple layers of descendant custom elements that use shadowrootreferencetarget (Input 2) - assert_equals: expected "Input 2" but got ""
testDeepImplicitLabelAssociation/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:94:20
  FAIL Label applies to multiple layers of descendant custom elements that use shadowrootreferencetarget (Input 2 via Options) - assert_equals: expected "Input 2 via Options" but got ""
testDeepImplicitLabelAssociation/<@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:94:20
  FAIL Implicit <label> association should work with a custom element targeting 'button' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'button' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'input' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'input' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'meter' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'meter' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'output' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'output' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'progress' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'progress' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'select' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'select' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should work with a custom element targeting 'textarea' for computed name - assert_equals: expected "fancy custom element inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:122:18
  FAIL Implicit <label> association should work with a custom element targeting 'textarea' for .labels - assert_array_equals: lengths differ, expected array [Element node <label>
      <fancy-element id="fancy">
        
      <...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:141:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Implicit <label> association should apply to only the first labelable custom element for computed name - assert_equals: expected "fancy input inside label" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:169:18
  FAIL Implicit <label> association should apply to only the first labelable custom element for .labels - assert_array_equals: real_input1 initial lengths differ, expected array [Element node <label id="label6">
  <fancy-input id="fancy-input6-1-out...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:211:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Changing the reference target causes label association to change for computed name - assert_equals: expected "Input 7" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:254:18
  FAIL Changing the reference target causes label association to change for .labels - assert_array_equals: input1 before change lengths differ, expected array [Element node <label id="label-input8" for="fancy-input8-outer">Input 8...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-descendant.html:291:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
/shadow-dom/reference-target/tentative/label-for.html
  FAIL Label for attribute targeting a custom element using shadowrootreferencetarget works for computed name - assert_equals: expected "Input 1" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:29:18
  FAIL Label for attribute targeting a custom element using shadowrootreferencetarget works for .labels property - assert_array_equals: lengths differ, expected array [Element node <label id="label1" for="x-input1">Input 1</label>] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:37:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Label for attribute targeting a custom element using shadowrootreferencetarget inside multiple layers of shadow roots works for computed name - assert_equals: expected "Input 2" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:60:18
  FAIL Label for attribute targeting a custom element using shadowrootreferencetarget inside multiple layers of shadow roots works for .labels property - assert_array_equals: lengths differ, expected array [Element node <label id="label2" for="x-outer2">Input 2</label>] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:69:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Multiple labels targeting a custom element using shadowrootreferencetarget inside multiple layers of shadow roots works for computed name - assert_equals: expected "A B C D E F" but got "C D"
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:96:20
  FAIL Multiple labels targeting a custom element using shadowrootreferencetarget inside multiple layers of shadow roots works for .labels property - assert_array_equals: lengths differ, expected array [Element node <label id="label3-A" for="x-outer3">A</label>, Element node <label id="label3-B" for="x-inner3">B</label>, Element node <label id="label3-C" for="input3">C</label>, Element node <label id="label3-D" for="input3">D</label>, Element node <label id="label3-E" for="x-inner3">E</label>, Element node <label id="label3-F" for="x-outer3">F</label>] length 6, got [Element node <label id="label3-C" for="input3">C</label>, Element node <label id="label3-D" for="input3">D</label>] length 2
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:110:26
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Setting .htmlFor property to target a custom element using shadowrootreferencetarget works for computed name - assert_equals: expected "Input 4" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:129:18
  FAIL Setting .htmlFor property to target a custom element using shadowrootreferencetarget works for .labels - assert_array_equals: lengths differ, expected array [Element node <label id="label-input4" for="x-input4">Input 4</label>] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:138:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Modifying the reference target changes the computed label when using label/for - assert_equals: expected "Input 5" but got ""
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:164:18
  FAIL Modifying the reference target changes .labels when using label/for - assert_array_equals: input1 before changing reference target lengths differ, expected array [Element node <label id="label-input6" for="x-input6-outer">Input 6</la...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:200:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Moving an input from one shadow root to another causes its .labels to be updated - assert_array_equals: input before changing shadow root lengths differ, expected array [Element node <label id="label-input7-1" for="x-input7-1">Input 7 - 1</...] length 1, got [] length 0
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:235:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL Attaching a shadow root, inserting and removing a shadow host, and changing reference targets all cause label association to be updated - assert_array_equals: After inner shadow reference target is set lengths differ, expected array [Element node <label id="intermediate-label8" for="inner-x-input8"></la..., Element node <label id="inner-label8" for="inner-input8"></label>] length 2, got [Element node <label id="inner-label8" for="inner-input8"></label>] length 1
@http://web-platform.test:8000/shadow-dom/reference-target/tentative/label-for.html:293:24
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
 1:34.66 INFO Got 4 unexpected results, with 0 unexpected passes
 1:34.66 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:34.66 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:34.66 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:34.66 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:34.67 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:34.67 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:34.68 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:34.68 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:34.69 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:34.69 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:34.89 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:34.89 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:34.93 INFO Removed font: Ahem.ttf
 1:34.95 INFO Closing logging queue
 1:34.95 INFO queue closed
 1:34.95 INFO Tolerating 4 unexpected results
[taskcluster 2026-01-08 09:40:27.346Z] === Task Finished ===
[taskcluster 2026-01-08 09:40:28.333Z] Successful task run with exit code: 0 completed in 159.426 seconds