Open Bug 1606286 Opened 5 years ago Updated 2 years ago

[webdriver] Update WebDriverError for "impl Display" and "Error:source"

Categories

(Testing :: geckodriver, task, P3)

Version 3
task

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

Details

Over the last years the Error crate has been changed a bit, and "Error:cause" and "Error:description" have been made obsolete. Webdriver still uses both for the WebDriverError, and we should update that.

Error::description was soft-deprecated in favor of impl Display.
Error::cause has been deprecated in favor of Error::source.

https://searchfox.org/mozilla-central/source/testing/webdriver/src/error.rs#334-342

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.