Non-spec capability "platformVersion" gets returned - needs to be a vendor prefixed one
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(firefox103 fixed)
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: whimboo, Assigned: naming_is_hard, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m4][lang=js][lang=py])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Originally reported as: https://github.com/mozilla/geckodriver/issues/2023
We inappropriately return the platformVersion
capability, which is not part of the WebDriver specification and as such needs to be vendor prefixed.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
The related capability that needs a change can be found here:
https://searchfox.org/mozilla-central/rev/28ed523a3ed5dbf5f6b008cf1e28a9e8a8597b5e/remote/shared/webdriver/Capabilities.jsm#439
To get this fixed the capability needs to be renamed to moz:platformVersion
.
Note that this would also require changes to at least the following unit tests for Marionette:
https://searchfox.org/mozilla-central/source/testing/marionette/harness/marionette_harness/tests/unit/test_capabilities.py
https://searchfox.org/mozilla-central/source/testing/marionette/harness/marionette_harness/tests/unit/test_session.py
Assignee | ||
Comment 2•2 years ago
|
||
Hey! I would like to work on this bug. I have the code ready, just facing some problems to sending it for review.
Assignee | ||
Comment 3•2 years ago
|
||
platformVersion
capability is not part of the WebDriver specification and needs to be vendor prefixed.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•