Closed Bug 593648 Opened 14 years ago Closed 14 years ago

cfx -P/--profiledir option should take relative paths

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: avarma, Assigned: avarma)

Details

Attachments

(1 file)

Currently, running 'cfx -P blap' or 'cfx -P ./blap' ought to use a profile in the relative directory, creating one if it doesn't exist. However, instead, Firefox starts up and displays an error dialog titled "Profile Missing" with the text "Your Firefox profile cannot be loaded. It may be missing or inaccessible."
Attached patch patchSplinter Review
Attachment #472221 - Flags: review?(warner-bugzilla)
Assignee: nobody → avarma
Status: NEW → ASSIGNED
Comment on attachment 472221 [details] [diff] [review]
patch

yay for more os.path.abspath() calls. Looks good to me.
Attachment #472221 - Flags: review?(warner-bugzilla) → review+
Thanks! Pushed:

Bug 593648 - cfx -P/--profiledir option should take relative paths
Atul Varma [:atul]
http://hg.mozilla.org/labs/jetpack-sdk/rev/d215a1aaa3a5
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
oh crap. i think the tree is supposed to be frozen.
Yes, the tree is frozen, so checkins for non-blockers need driver approval prior to landing.  In this case, the patch is a low-risk patch that it is reasonable to land during tree freeze, thus a=myk, and you don't need to back it out.  But make sure to ask for approval in advance next time!
Thanks myk, I'll definitely remember to do that next time!
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: