Closed Bug 1114808 Opened 10 years ago Closed 9 years ago

Create profile in a given directory

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1199588

People

(Reporter: drno, Unassigned)

Details

(Keywords: pi-marionette-runner)

Attachments

(1 file, 1 obsolete file)

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.
Attached patch bug_1114808_create_profile_in_dir.patch (obsolete) (deleted) — Splinter Review
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.
Fixed restarts.
Attachment #8540418 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: