WebDriver's ErrorStatus should implement Deserialize
Categories
(Testing :: geckodriver, enhancement)
Tracking
(firefox70 fixed)
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: george.roman.99, Assigned: george.roman.99)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
Currently, ErrorStatus (https://searchfox.org/mozilla-central/source/testing/webdriver/src/error.rs#12) doesn't implement Deserialize.
Expected results:
It would be nice to have it implemented as it would be useful in certain scenarios. For example, Servo uses https://github.com/servo/ipc-channel for communication between the browser and the WebDriver server, which uses serde for serialization and deserialization. At the moment, we don't have a good way to distinguish between the different errors that might happen in the browser side since we can't pass an ErrorStatus back to the WebDriver server. Having Deserialize implemented would make this possible.
| Assignee | ||
Comment 1•6 years ago
|
||
Implement Deserialize for ErrorStatus
Comment 3•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Description
•