[desktop] Read Marionette port from MarionetteActivePort file within the Firefox profile directory
Categories
(Testing :: geckodriver, enhancement, P3)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: whimboo, Assigned: jgraham)
References
(Blocks 3 open bugs, )
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Reporter | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 14•6 years ago
|
||
We won't be able to fix that for the 0.24 release. Moving out to 0.25.
Comment hidden (metoo) |
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 16•3 years ago
|
||
The work that we wanna do on bug 1240830 should help to get rid of this problem.
Reporter | ||
Comment 17•3 years ago
|
||
Bug 1240830 is now a meta bug and as such should be blocked by this work.
Since bug 1735162 Marionette writes the MarionetteActivePort
file to the profile directory. It only contains the port Marionette is running on. And it's way easier to implement as having to read and parse the prefs.js file.
Assignee | ||
Comment 18•3 years ago
|
||
When no marionette port is explicitly specified, and the Firefox
version is >= 95, pass in a port number of 0 from geckodriver to
firefox, so that marionette binds on a free port. Then read the port
it used from the profile. This avoids the possibility of races between
geckodriver picking a free port and marionette binding to that port.
This could also be used on Android, but isn't implemented as part of
this patch.
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 19•3 years ago
|
||
Note that with the attached patch the support only gets added to desktop. I'll file a follow-up for Android support.
Comment 20•3 years ago
|
||
Comment 21•3 years ago
|
||
bugherder |
Description
•