tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 3c5abbd55d70bc17beb909703756b89938a9d5b9
parent 501231c13f3f6a860dbbb275ebc99ad84cea5b86
Author: Anne van Kesteren <annevk@annevk.nl>
Date:   Tue, 21 Oct 2025 10:16:21 +0000

Bug 1994254 [wpt PR 55419] - Correct HTMLOptionsCollection test, a=testonly

Automatic update from web-platform-tests
Correct HTMLOptionsCollection test

This makes it account for the enhanced <select> element that looks at arbitrary descendants and not just children.
--

wpt-commits: fa7d86533029813b6ec7341ac3d4b1e6136c513b
wpt-pr: 55419

Diffstat:
Mtesting/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html b/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html @@ -92,8 +92,8 @@ test(function() { newChild.appendChild(newOption); a.appendChild(newChild); a.value = 3; - assert_equals(a_opts.length, 5, "Correct length"); - assert_values_equals(a_opts, ["1","2","3","4","5"], "Correct elements inserted") + assert_equals(a_opts.length, 6, "Correct length"); + assert_values_equals(a_opts, ["1","2","3","4","5","6"], "Correct elements inserted") assert_equals(a.value, "3", "Correct value set"); }, "Insert <p><option>6</option></p> into <select>");