Closed Bug 1569466 Opened 6 years ago Closed 6 years ago

WebDriver's ErrorStatus should implement Deserialize

Categories

(Testing :: geckodriver, enhancement)

enhancement
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
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.

Implement Deserialize for ErrorStatus

Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/827775bba76d Implement Deserialize for ErrorStatus. r=ato
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → george.roman.99
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: