[Selection API] Change getComposedRanges() from rest parameter to a dictionary
Per w3c/selection-api#176, we should update
selection.getComposedRanges() from using a rest shadowRoots
parameter
to using a dictionary that contains the array shadowRoots
.
Change-Id: I6b5b3fed786cf6d75fa4a20c0b2a583635cd2aca
Bug: 40286116
Fixed: 355577223
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770701
Commit-Queue: Di Zhang dizhangg@chromium.org
Reviewed-by: Siye Liu siliu@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1338832}