Files
servo/components/shared/base
Euclid Ye 5e020146f1 webdriver: Deserialize WebFrame and report error correctly for script execution + Fix wrong tests (#39919)
This is ~slightly~ quite different from the last PR for `WebWindow`.
This time, we need to consult constellation to verify the existence of
browsing context, without diving into script. But constellation requires
`BrowsingContextId` object to check the HashMap. As a result, we added a
regex check to convert the given `reference: string` to
`BrowsingContextId`.

Testing: 14 newly passing tests. Two of them are newly created, as
previous tests themselves are wrong and outdated with spec. We now fully
pass `execute_{async_}script/arguments.py`.

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2025-10-17 11:00:53 +00:00
..