Closed
Bug 857606
Opened 13 years ago
Closed 8 years ago
Profile argument is ignored when using mozrunner to launch B2G desktop client
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: davehunt, Unassigned)
Details
(Whiteboard: [mozbase])
It appears the default profile is being used when specifying a custom profile and the B2G.app or b2g path:
$ mozrunner --binary=/Users/dhunt/Desktop/mozilla-b2g18/B2G.app --profile=/Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/gaia/profile2
Starting: /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/b2g -profile /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/gaia/profile2
Starting b2g-bin
Running: /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/b2g-bin -profile /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/gaia/profile
Note that the profile2 was replaced with profile. This does however work if specifying the b2g-bin path directly:
$ mozrunner --binary=/Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/b2g-bin --profile=/Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/gaia/profile2
Starting: /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/b2g-bin -profile /Users/dhunt/Desktop/mozilla-b2g18/B2G.app/Contents/MacOS/gaia/profile2
Comment 1•13 years ago
|
||
not really sure if I understand this; Bueller?
| Reporter | ||
Comment 2•13 years ago
|
||
It may end up being a B2G desktop client issue, but I want to launch the application with a specific profile. At the moment the only way I can do that is by specifying the binary as the full path to b2g-bin. If I specify the B2G.app or b2g path then the profile argument is being disregarded. I hope that makes more sense. :)
Comment 3•13 years ago
|
||
This is a limitation of the B2G desktop build. The 'b2g' (or B2G.app) binary is hardcoded (by the build itself) to launch b2g-bin with the bundled profile. If you want to specify your own profile, the only way to do this is to directly launch b2g-bin instead.
B2G desktop builds without a bundled profile do not have a b2g-bin binary, and in those, launching the b2g binary with the -profile argument works as expected.
This isn't a mozrunner bug, but, we could add a B2GDesktopRunner subclass in mozrunner that would automatically handle this.
| Reporter | ||
Comment 4•13 years ago
|
||
Sounds like it would be a good enhancement then, but this isn't blocking as we can just specify the full path to the b2g-bin when a bundled profile is included.
Updated•13 years ago
|
Whiteboard: [mozbase]
| Reporter | ||
Comment 5•13 years ago
|
||
No longer blocking bug 857622 as there's a suitable workaround.
Comment 6•8 years ago
|
||
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•