standalone script for creating profile, useful for testing

RESOLVED INVALID

Status

RESOLVED INVALID
12 years ago
10 years ago

People

(Reporter: ray, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
I have created the script that I will attach to this bug. It can be invoked with --help.

Here is an example of it being used.

% perl ./newprofile.pl --appname /Users/ray/mo/trowser/mozilla/dist/Minefield.app/Contents/MacOS/firefox --profiledir /tmp/new --profilename jksdfsjdfjksd

The --run option will launch the given app with the new profile.

% echo "user_pref('browser.startup.homepage', 'http://www.ganymede.org');" > ~/extra.js
% % perl ./newprofile.pl --appname /Users/ray/mo/trowser/mozilla/dist/Minefield.app/Contents/MacOS/firefox --profiledir /tmp/new --profilename dfgjdsdjfhgsdj --extra ~/extra.js
(Reporter)

Comment 1

12 years ago
Created attachment 263178 [details]
perl script for creating profile
(Reporter)

Updated

12 years ago
Attachment #263178 - Flags: review?(sayrer)

Comment 2

12 years ago
Comment on attachment 263178 [details]
perl script for creating profile

this is not a patch, so there is no need for review
Attachment #263178 - Flags: review?(sayrer)
(Reporter)

Comment 3

12 years ago
And it actually turns out that this is not necessary. It is easier than it seemed to create a profile, put a user.js file in it and start with the -profile flag.

So, this script is not necessary.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID
Component: Testing → General
Product: Core → Testing
QA Contact: testing → general
You need to log in before you can comment on or make changes to this bug.