Closed Bug 581119 Opened 15 years ago Closed 15 years ago

Make firefox the default application for cfx

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

(5 files)

XULRunner was selected as the default application for cfx to ensure that developers didn't inadvertently introduce firefox-specific code into code that didn't absolutely need to run on firefox. This was in light of previous mistakes that had been made in Labs projects along these lines, which made it harder to port experiments to other Gecko-based apps like Thunderbird. However, it's rapidly becoming apparent that Firefox is the primary platform that the Jetpack SDK is being developed for, so much so that many developers frequently run into problems when they forget to add "-a firefox" when running cfx. We might want to just make it the default, although this certainly doesn't mean that supporting other apps is irrelevant--bug 560716 is still a priority, for instance. Defaults are meant to support the most conventional/common use cases; developing Firefox addons seems to be the most common use case for the Jetpack SDK, so it should probably be the default.
Note also that changing the default will likely mean changing some SDK documentation, too.
Comment on attachment 459517 [details] [diff] [review] patch for cfx, but not docs. Myk, any thoughts on this?
Attachment #459517 - Flags: feedback?(myk)
Comment on attachment 459517 [details] [diff] [review] patch for cfx, but not docs. I totally agree! f=myk I would just list firefox first in the list of apps to run.
Attachment #459517 - Flags: feedback?(myk) → feedback+
Atul: what does it mean that the patch is not for docs? Doesn't |cfx docs| always open the documentation in a browser instance? After all, it doesn't seem like opening it in XULRunner would be particularly successful.
Nah, I just meant that I remember, when writing the tutorial and other parts of the initial SDK docs for 0.1, mentioning specifically that XULRunner is the default app, and telling users to use '-a firefox' if they wanted to use Firefox instead. If those docs are still in there, we'll need to change them to reflect the changes in this patch so users don't get confused.
Would be great to get this in the next release. Are you going to update this patch w/ the doc changes?
Sure, I can bust that up. Assigning to me now.
Assignee: nobody → avarma
Status: NEW → ASSIGNED
Comment on attachment 462818 [details] [diff] [review] fixed xul-extensions.md docs. Noelle, can you review this? The functional fix is a one-line change and has been reviewed by myk, so this is mostly a documentation update.
Attachment #462818 - Flags: review?(fiveinchpixie)
Comment on attachment 462818 [details] [diff] [review] fixed xul-extensions.md docs. Looks good!
Attachment #462818 - Flags: review?(fiveinchpixie) → review+
Thanks! Pushed: Bug 581119 - Make firefox the default application for cfx (r=noelle, r=myk) Atul Varma http://hg.mozilla.org/labs/jetpack-sdk/rev/1dd02c9af542
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: