mirror of
https://github.com/servo/servo.git
synced 2025-09-23 05:10:09 +01:00
webdriver: Improve documentations for actions.rs
and update TODOs (#39391)
Add specification quote for each steps, remove some irrelevant TODO, and move function position closer to related function. Testing: No behaviour change --------- Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com> Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> Co-authored-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
2c8533f38e
commit
77ae3a0eb3
3 changed files with 166 additions and 134 deletions
|
@ -502,7 +502,6 @@ impl App {
|
|||
}
|
||||
},
|
||||
WebDriverCommandMsg::KeyboardAction(webview_id, key_event, msg_id) => {
|
||||
// TODO: We should do processing like in `headed_window:handle_keyboard_input`.
|
||||
if let Some(webview) = running_state.webview_by_id(webview_id) {
|
||||
webview.notify_input_event(
|
||||
InputEvent::Keyboard(KeyboardEvent::new(key_event))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue