Skip to content

Conversation

@yezhizhen
Copy link
Member

@yezhizhen yezhizhen commented Oct 18, 2025

It is possible that the reference of WebElement and ShadowRoot in the request is not String. Instead of panic, we should return "invalid argument" same as the WebWindow and WebFrame.

Testing: Added 4 new subtests. There was only tests for WebWindow and WebFrame somehow.

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 18, 2025
@yezhizhen
Copy link
Member Author

w3c/webdriver#1931

Spec update here.

@servo-wpt-sync
Copy link
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#55527) with upstreamable changes.

@servo-wpt-sync
Copy link
Collaborator

✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#55527) title and body.

Copy link
Member

@mrobinson mrobinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 18, 2025
@yezhizhen
Copy link
Member Author

yezhizhen commented Oct 18, 2025

Makes sense!

You wrongly pressed "Request changes" tho.

@mrobinson
Copy link
Member

You wrongly pressed "Request changes" tho.

Apologies. I've fixed that now. 🤦

@yezhizhen yezhizhen added this pull request to the merge queue Oct 18, 2025
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Oct 18, 2025
Merged via the queue into main with commit bf42488 Oct 18, 2025
37 checks passed
@yezhizhen yezhizhen deleted the fix-test branch October 18, 2025 11:14
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants