[wdspec] WebDriver BiDi client modules should validate data types in command responses
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Tracking
(firefox149 fixed)
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: whimboo, Assigned: khalid.alhaddad98, Mentored)
Details
(Whiteboard: [webdriver:m19][webdriver:external][lang=py], [wptsync upstream])
Attachments
(2 files, 1 obsolete file)
Some of the existing modules at the following location already check value types for validity:
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/webdriver/webdriver/bidi/modules
Given that this is a test client we should do these checks for every command in each of the listed modules.
| Reporter | ||
Comment 1•1 year ago
•
|
||
If needed we can do the commands first and events later, but preferable we could have both at once.
| Reporter | ||
Comment 2•2 months ago
|
||
@Khalid maybe this would be an interesting bug for you. Here you would have to work with the WebDriver BiDi specification to find the proper types to check.
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
Yes, I'd be happy to work on it.
| Assignee | ||
Updated•2 months ago
|
| Reporter | ||
Comment 4•2 months ago
|
||
Great to hear that! Let me know if something is unclear. I'm happy to discuss on Matrix (or here as well).
| Assignee | ||
Comment 5•2 months ago
|
||
Thank you, and will do if anything comes up.
| Comment hidden (duplicate) |
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Comment 7•2 months ago
|
||
As discussed on Matrix we cannot actually do it for events because we do not have special handling as for commands:
| Assignee | ||
Comment 8•2 months ago
|
||
| Assignee | ||
Comment 9•1 month ago
|
||
| Assignee | ||
Comment 10•1 month ago
|
||
Updated•1 month ago
|
Comment 11•22 days ago
|
||
Comment 13•21 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/efe8e32fdf72
https://hg.mozilla.org/mozilla-central/rev/46d55438e827
| Reporter | ||
Comment 15•21 days ago
|
||
Thank you Khalid! As discussed on Matrix I've taken a look for a next opportunity for you and bug 2003820 would be a good one so that we can clean-up all of our WebDriver related tests. What do you think?
Comment 17•17 days ago
|
||
Comment 18•16 days ago
|
||
| bugherder | ||
Description
•