Closed
Bug 1114808
Opened 10 years ago
Closed 9 years ago
Create profile in a given directory
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1199588
People
(Reporter: drno, Unassigned)
Details
(Keywords: pi-marionette-runner)
Attachments
(1 file, 1 obsolete file)
4.50 KB,
patch
|
Details | Diff | Splinter Review |
Currently marionette expects to either get the path to an existing profile (then it calls Profile.clone()) or no profile information at all, in which it lets mozprofile just create a fresh profile.
http://dxr.mozilla.org/mozilla-central/source/testing/marionette/client/marionette/geckoinstance.py#66
Unfortunately mozprofile always creates the new profile in the Python temp directory:
http://dxr.mozilla.org/mozilla-central/source/testing/mozbase/mozprofile/mozprofile/profile.py#67
So if I want to point marionette to a given directory for creating a fresh profile in there (instead of the systems Python default temp dir) I can't do that right now.
Reporter | ||
Comment 1•10 years ago
|
||
This patch checks if the given directory from the --profile argument is empty or not and either clones it or creates a new profile if the directory is empty.
Reporter | ||
Comment 2•10 years ago
|
||
Fixed restarts.
Attachment #8540418 -
Attachment is obsolete: true
Updated•10 years ago
|
Keywords: ateam-marionette-runner
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•