8000 Move webdriver actions commands to servoshell by longvatrong111 · Pull Request #37669 · servo/servo · GitHub
[go: up one dir, main page]

Skip to content

Conversation

longvatrong111
Copy link
Contributor
longvatrong111 commented Jun 24, 2025

Move webdriver actions commands to servoshell.

Testing: Test with webdriver enable in the CI
Test result 1
Test result 2
Test result 3

Fixes: #37370

@longvatrong111 longvatrong111 force-pushed the webdriver-actions branch 2 times, most recently from 59970d4 to 254fea5 Compare June 25, 2025 06:43
@servo-wpt-sync
Copy link
Collaborator

🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync.

Copy link
Member
@mrobinson mrobinson left a comment
10BC0

Choose a reason for hiding this comment

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

Looks pretty good. Just some minor comments...

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
@longvatrong111
Copy link
Contributor Author

@mrobinson I made some updates, can you kindly review this again?

Comment on lines +457 to +463
// Key events don't need hit test so can be forwarded to constellation for now
WebDriverCommandMsg::SendKeys(..) => {
running_state.forward_webdriver_command(msg);
},
WebDriverCommandMsg::KeyboardAction(..) => {
running_state.forward_webdriver_command(msg);
},
Copy link
Member

Choose a reason for hiding this comment

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

Eventually these should use notify_input_event. That would be good to do in a followup.

@mrobinson mrobinson added this pull request to the merge queue Jul 4, 2025
Merged via the queue into servo:main with commit 940eff9 Jul 4, 2025
21 checks passed
@longvatrong111 longvatrong111 deleted the webdriver-actions branch July 5, 2025 07:25
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.

[webdriver] Moving webdriver to servoshell
5 participants
0