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:
Euclid Ye 2025-07-23 14:50:20 +08:00 committed by GitHub
parent 7f6d4825cf
commit d2e5137201
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 53 deletions

View file

@ -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,