Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Selection API] Change getComposedRanges() from rest parameter to a dictionary #47523

Merged
merged 1 commit into from
Aug 8, 2024

[Selection API] Change getComposedRanges() from rest parameter to a d…

2ac3bc3
Select commit
Loading
Failed to load commit list.
Merged

[Selection API] Change getComposedRanges() from rest parameter to a dictionary #47523

[Selection API] Change getComposedRanges() from rest parameter to a d…
2ac3bc3
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Aug 8, 2024 in 5m 19s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=dev --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 --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 1:10.23 pid:2099 [2116:2116:0808/024125.049094:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
 1:10.25 pid:2099 [1723084885.067][WARNING]: You are using an unsupported command-line switch: --disable-build-check. Please don't report bugs that cannot be reproduced with this switch removed.
 1:10.25 pid:2099 [2116:2210:0808/024125.076176:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 1:10.26 pid:2099 [2116:2210:0808/024125.076202:WARNING:property.cc(149)] DaemonVersion: GetAndBlock: failed.
 1:10.26 pid:2099 [2116:2210:0808/024125.076634:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 1:10.26 pid:2099 [2116:2210:0808/024125.076888:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 1:10.50 pid:2099 [2116:2116:0808/024125.326500:INFO:CONSOLE(906)] "Launching Mapper instance with selfTargetId: 167686B9DA94A18A2FD182DCC84EFE8F", source:  (906)
 1:10.58 TEST_START: /dom/ranges/Range-isPointInRange-shadowdom.tentative.html
 1:10.59 INFO Unsubscribing from all the events
 1:10.68 INFO adding event listener None
 1:10.68 INFO Subscribing to events ['browsingContext.userPromptOpened'] in None
 1:10.76 INFO Unsubscribing from all the events
 1:10.83 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL isPointInRange() test for collapsed selection - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/dom/ranges/Range-isPointInRange-shadowdom.tentative.html:28:47)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/dom/ranges/Range-isPointInRange-shadowdom.tentative.html:18:1

 1:10.83 TEST_START: /selection/shadow-dom/select-later-become-slotted-content.tentative.html
 1:10.83 INFO Unsubscribing from all the events
 1:10.95 INFO adding event listener None
 1:10.95 INFO Subscribing to events ['browsingContext.userPromptOpened'] in None
 1:11.02 INFO Unsubscribing from all the events
 1:11.10 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL test to select a light DOM element and it becomes a slotted content after the selection - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/selection/shadow-dom/select-later-become-slotted-content.tentative.html:20:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/selection/shadow-dom/select-later-become-slotted-content.tentative.html:10:1

 1:11.10 TEST_START: /shadow-dom/selection-collapse-and-extend.tentative.html
 1:11.11 INFO Unsubscribing from all the events
 1:11.22 INFO adding event listener None
 1:11.22 INFO Subscribing to events ['browsingContext.userPromptOpened'] in None
 1:11.28 INFO Unsubscribing from all the events
 1:11.35 TEST_END: Test OK. Subtests passed 0/4. Unexpected 4
FAIL collapse can set selection to a node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:21:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:13:1
FAIL collapse abort steps when called with a disconnected node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:37:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:30:1
FAIL extend can set selection to a node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:49:33)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:41:1
FAIL extend abort steps when called with a disconnected node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:69:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:61:1

 1:11.36 TEST_START: /shadow-dom/selection-getComposedRanges-collapsed.tentative.html
 1:11.37 INFO Unsubscribing from all the events
 1:11.49 INFO adding event listener None
 1:11.49 INFO Subscribing to events ['browsingContext.userPromptOpened'] in None
 1:11.57 INFO Unsubscribing from all the events
 1:11.65 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Setting the range to nodes in different shadow trees collapses ordinary ranges, but does not collapse composed ranges. - assert_equals: expected 1 but got 3
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges-collapsed.tentative.html:50:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges-collapsed.tentative.html:40:1

 1:11.65 TEST_START: /shadow-dom/selection-getComposedRanges.tentative.html
 1:11.66 INFO Unsubscribing from all the events
 1:11.78 INFO adding event listener None
 1:11.78 INFO Subscribing to events ['browsingContext.userPromptOpened'] in None
 1:11.84 INFO Unsubscribing from all the events
 1:11.92 TEST_END: Test OK. Subtests passed 5/12. Unexpected 7
FAIL getComposedRanges should fail if argument is not a shadow root - assert_equals: expected "Failed to execute 'getComposedRanges' on 'Selection': Failed to read the 'shadowRoots' property from 'GetComposedRangesOptions': Failed to convert value to 'ShadowRoot'." but got "Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'."
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:24:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:17:1
FAIL getComposedRanges returns a sequence with a static range pointing to a shadaw tree when there is a selection in the shadow tree and the shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:56:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:50:1
FAIL getComposedRanges a sequence with a static range pointing to the shadow host when there is a forward selection that crosses shadow boundaries and the shadow tree is not specified as an argument - assert_equals: expected 1 but got 2
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:87:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:78:1
FAIL getComposedRanges a sequence with a static range that crosses shadow boundaries when there is a forward selection that crosses shadow boundaries and the shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:98:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:92:1
FAIL getComposedRanges returns a sequence with a static range pointing to the inner shadow tree when there is a selection in an inner shadow tree and the inner shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:132:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:123:1
FAIL getComposedRanges returns a sequence with a static range pointing to the outer shadow tree when there is a selection in an inner shadow tree and the outer shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:149:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:140:1
FAIL getComposedRanges returns a sequence with a static range without rescoping when there is a selection in an outer shadow tree and the inner shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:166:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:157:1

 1:11.92 INFO No more tests
 1:11.93 pid:2099 [2116:2131:0808/024126.746810:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 1:11.95 pid:2099 [0808/024126.769483:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
 1:11.95 pid:2099 [0808/024126.769553:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
 1:11.93 INFO Closing logging queue
 1:11.94 INFO queue closed
 1:12.11 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 26 checks (21 subtests, 5 tests)
Expected results: 12
Unexpected results: 14
  subtest: 14 (14 fail)

Unexpected Results
------------------
/dom/ranges/Range-isPointInRange-shadowdom.tentative.html
  FAIL isPointInRange() test for collapsed selection - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/dom/ranges/Range-isPointInRange-shadowdom.tentative.html:28:47)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/dom/ranges/Range-isPointInRange-shadowdom.tentative.html:18:1
/selection/shadow-dom/select-later-become-slotted-content.tentative.html
  FAIL test to select a light DOM element and it becomes a slotted content after the selection - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/selection/shadow-dom/select-later-become-slotted-content.tentative.html:20:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/selection/shadow-dom/select-later-become-slotted-content.tentative.html:10:1
/shadow-dom/selection-collapse-and-extend.tentative.html
  FAIL collapse can set selection to a node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:21:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:13:1
  FAIL collapse abort steps when called with a disconnected node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:37:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:30:1
  FAIL extend can set selection to a node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:49:33)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:41:1
  FAIL extend abort steps when called with a disconnected node inside a shadow tree - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:69:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-collapse-and-extend.tentative.html:61:1
/shadow-dom/selection-getComposedRanges-collapsed.tentative.html
  FAIL Setting the range to nodes in different shadow trees collapses ordinary ranges, but does not collapse composed ranges. - assert_equals: expected 1 but got 3
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges-collapsed.tentative.html:50:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges-collapsed.tentative.html:40:1
/shadow-dom/selection-getComposedRanges.tentative.html
  FAIL getComposedRanges should fail if argument is not a shadow root - assert_equals: expected "Failed to execute 'getComposedRanges' on 'Selection': Failed to read the 'shadowRoots' property from 'GetComposedRangesOptions': Failed to convert value to 'ShadowRoot'." but got "Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'."
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:24:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:17:1
  FAIL getComposedRanges returns a sequence with a static range pointing to a shadaw tree when there is a selection in the shadow tree and the shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:56:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:50:1
  FAIL getComposedRanges a sequence with a static range pointing to the shadow host when there is a forward selection that crosses shadow boundaries and the shadow tree is not specified as an argument - assert_equals: expected 1 but got 2
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:87:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:78:1
  FAIL getComposedRanges a sequence with a static range that crosses shadow boundaries when there is a forward selection that crosses shadow boundaries and the shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:98:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:92:1
  FAIL getComposedRanges returns a sequence with a static range pointing to the inner shadow tree when there is a selection in an inner shadow tree and the inner shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:132:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:123:1
  FAIL getComposedRanges returns a sequence with a static range pointing to the outer shadow tree when there is a selection in an inner shadow tree and the outer shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:149:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:140:1
  FAIL getComposedRanges returns a sequence with a static range without rescoping when there is a selection in an outer shadow tree and the inner shadow tree is specified as an argument - Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
TypeError: Failed to execute 'getComposedRanges' on 'Selection': parameter 1 is not of type 'ShadowRoot'.
    at Test.<anonymous> (http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:166:35)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/shadow-dom/selection-getComposedRanges.tentative.html:157:1
 1:12.11 INFO Got 5 unexpected results, with 0 unexpected passes
 1:12.12 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:12.18 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:12.19 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:12.19 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:12.19 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:12.29 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:12.55 INFO Removed font: Ahem.ttf
 1:12.59 INFO Closing logging queue
 1:12.59 INFO queue closed
 1:12.59 INFO Tolerating 5 unexpected results
X connection to :99.0 broken (explicit kill or server shutdown).

[taskcluster 2024-08-08 02:41:32.338Z] === Task Finished ===
[taskcluster 2024-08-08 02:41:33.017Z] Successful task run with exit code: 0 completed in 316.874 seconds