mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
constellation: Eliminate long-standing inactive code path for WebDriverData
(#38221)
Cleaning up some dead code which has been here for 9 years. They are never detected by Lint because we still initialize them as `None` but never change afterwards. Testing: No regression. --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
7f6d4825cf
commit
d2e5137201
5 changed files with 13 additions and 53 deletions
|
@ -1103,8 +1103,10 @@ fn handle_send_keys_file(
|
|||
Ok(false)
|
||||
}
|
||||
|
||||
/// Implementing step 5 - 8 of Element Send Keys. This function will send a boolean
|
||||
/// back to webdriver_server, indicating whether the dispatching of the key and
|
||||
/// Implementing step 5 - 7, plus part of step 8 of "Element Send Keys"
|
||||
/// where element is input element in the file upload state.
|
||||
/// This function will send a boolean back to webdriver_server,
|
||||
/// indicating whether the dispatching of the key and
|
||||
/// composition event is still needed or not.
|
||||
pub(crate) fn handle_will_send_keys(
|
||||
documents: &DocumentCollection,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue