Closed Bug 1834971 Opened 11 months ago Closed 11 months ago

Add optional "data" field to WebDriver Error classes

Categories

(Remote Protocol :: Agent, task, P1)

task
Points:
3

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m7])

Attachments

(1 file)

For bug 1822466 and most likely bug 1830884 as well we need a better JSON serialization and deserialization of WebDriver error classes, especially for those classes that need extra information like a nodeId (eg. no such element, stale element reference). Reason is that this extra information needs to be still available and cannot simply be parsed our of random error messages.

Points: --- → 3
Priority: -- → P1
Whiteboard: [webdriver:m7]
Blocks: 1469752
Summary: Refactor WebDriverError implementation for JSON serialization and deserialization → Add optional "data" field to WebDriver Error classes
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ef568d7513d
[remote] Add optional data field to WebDriver error classes. r=webdriver-reviewers,Sasha
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b5c24f93579f
[remote] Add optional data field to WebDriver error classes. r=webdriver-reviewers,Sasha

Got backed out by mistake.
Relanded

Flags: needinfo?(hskupin)
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: