Closed Bug 1102536 Opened 10 years ago Closed 9 years ago

marionette.defaultPrefs.port setting ignored

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: hsteen, Unassigned)

References

Details

(Keywords: pi-marionette-server)

I don't get any effect of setting marionette.defaultPrefs.port in a Nightly build. It keeps listening on port 2828 if it's free, fails to create a listener otherwise.

It's supposedly tested:
http://dxr.mozilla.org/mozilla-central/source/testing/web-platform/harness/wptrunner/browsers/firefox.py#92
-but does that code ever run when port 2828 is occupied?
Is this related to bug 1101539?
Not sure, that bug says "when you ask Marionette to launch the process for you" which is not what I'm doing - however it might go the same route under the hood of course.
Marionette uses mozprofile for setting preferences. There was a bug in mozprofile <0.23 which converted all pref names into lowercase letters. See bug 1100363. We fixed that this week and got version 0.23 released yesterday.

Hallvord, can you please check if it is still a problem? I believe it should be fixed now.
Flags: needinfo?(hsteen)
(In reply to Henrik Skupin (:whimboo) from comment #3)
> Marionette uses mozprofile for setting preferences. There was a bug in
> mozprofile <0.23 which converted all pref names into lowercase letters. See
> bug 1100363. We fixed that this week and got version 0.23 released yesterday.
> 
> Hallvord, can you please check if it is still a problem? I believe it should
> be fixed now.

Setting the port using mozprofile 0.23 works for me now.
Wonderful! Thanks Eric. So marking this bug as fixed by bug 1100363.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1100363
Flags: needinfo?(hsteen)
OS: Windows 8.1 → All
Hardware: x86_64 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.