-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
webdriver: Report error instead of panic for invalid WebElement&ShadowRoot reference
#39976
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
Conversation
Signed-off-by: Euclid <[email protected]>
Signed-off-by: Euclid <[email protected]>
|
Spec update here. |
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#55527) with upstreamable changes. |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#55527) title and body. |
mrobinson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense!
You wrongly pressed "Request changes" tho. |
Apologies. I've fixed that now. 🤦 |
It is possible that the reference of
WebElementandShadowRootin the request is not String. Instead of panic, we should return "invalid argument" same as theWebWindowandWebFrame.Testing: Added 4 new subtests. There was only tests for
WebWindowandWebFramesomehow.