Closed
Bug 1387380
Opened 7 years ago
Closed 7 years ago
Remove capabilities negotiation from Marionette
Categories
(Remote Protocol :: Marionette, enhancement, P2)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: ato, Assigned: ato)
References
Details
Attachments
(1 file)
Marionette reads the "capabilities" key, containing the old-style Selenium New Session body with "desiredCapabilities" and "requiredCapabilities" fields: https://searchfox.org/mozilla-central/rev/30a47c4339bd397b937abdb2305f99d3bb537ba6/testing/marionette/driver.js#670-677 In an effort to get rid of desired/required capabilities negotiation in Marionette, now that geckodriver does the negotiation for us, we should look at the outermost cmd.parameters JSON Object so that geckodrive can remove the inner "capabilities" field down the line. Furthermore, this implies we can get rid of the ‘merging’ of capabilities objects.
Assignee | ||
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8893936 [details] Bug 1387380 - Stop capabilities negotiation in Marionette. https://reviewboard.mozilla.org/r/164998/#review170726 Looks fine to me generally. There is one thing I would like to get reverted through to be closer to the spec naming convention. ::: testing/marionette/session.js:275 (Diff revision 1) > ["moz:headless", Cc["@mozilla.org/gfx/info;1"].getService(Ci.nsIGfxInfo).isHeadless], > ]); > } > > /** > - * @param {string} key > + * @param {string} name In the spec we list the name as 'key' and so I think we should keep it here.
Attachment #8893936 -
Flags: review?(hskupin) → review+
Comment hidden (mozreview-request) |
Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34af7208f1c0 Stop capabilities negotiation in Marionette. r=whimboo
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/34af7208f1c0
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•7 years ago
|
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•