Closed Bug 762588 Opened 13 years ago Closed 13 years ago

channel-prefs.js is at the wrong location in FF-on-XR setups

Categories

(Firefox :: General, defect)

13 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 16
Tracking Status
firefox14 --- fixed
firefox15 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Keywords: regression)

Attachments

(1 file)

In Xulrunner applications, the defaults/pref/ directory under the application directory is not used for preferences, which means channel-prefs.js, being installed there unconditionally, is never going to be read.
Attachment #631062 - Flags: review?(robert.bugzilla)
Attachment #631062 - Flags: review?(robert.bugzilla) → review+
FYI: The changes that caused this bug also landed on Aurora and are on beta as well now.
(In reply to Robert Strong [:rstrong] (do not email) from comment #2) > FYI: The changes that caused this bug also landed on Aurora and are on beta > as well now. Which is why I had set status-firefox14: affected :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment on attachment 631062 [details] [diff] [review] Install channel-prefs.js in PREF_DIR when building Firefox as a XULRunner app [Approval Request Comment] Bug caused by bug 756325, which was a late landing on aurora (a few days before beta merge). User impact if declined: Only a problem for people building firefox as a xulrunner application. Risk to taking this patch (and alternatives if risky): The patch doesn't change anything for mozilla builds.
Attachment #631062 - Flags: approval-mozilla-beta?
Attachment #631062 - Flags: approval-mozilla-aurora?
Attachment #631062 - Flags: approval-mozilla-beta?
Attachment #631062 - Flags: approval-mozilla-beta+
Attachment #631062 - Flags: approval-mozilla-aurora?
Attachment #631062 - Flags: approval-mozilla-aurora+
Blocks: 760792
Flags: in-testsuite-
Keywords: regression
Comment on attachment 631062 [details] [diff] [review] Install channel-prefs.js in PREF_DIR when building Firefox as a XULRunner app Review of attachment 631062 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/app/Makefile.in @@ +142,5 @@ > libs:: $(srcdir)/profile/channel-prefs.js > $(NSINSTALL) -D $(DIST)/bin/defaults/pref > $(PYTHON) $(topsrcdir)/config/Preprocessor.py $(PREF_PPFLAGS) $(ACDEFINES) $^ > $(DIST)/bin/defaults/pref/channel-prefs.js > +else > +PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js I'm a little confused. Isn't it useless to set PREF_JS_EXPORTS _after_ including rules.mk? http://mxr.mozilla.org/comm-central/search?string=PREF_JS_EXPORTS&case=on
(In reply to Serge Gautherie (:sgautherie) from comment #8) > Comment on attachment 631062 [details] [diff] [review] > Install channel-prefs.js in PREF_DIR when building Firefox as a XULRunner app > > Review of attachment 631062 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/app/Makefile.in > @@ +142,5 @@ > > libs:: $(srcdir)/profile/channel-prefs.js > > $(NSINSTALL) -D $(DIST)/bin/defaults/pref > > $(PYTHON) $(topsrcdir)/config/Preprocessor.py $(PREF_PPFLAGS) $(ACDEFINES) $^ > $(DIST)/bin/defaults/pref/channel-prefs.js > > +else > > +PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js > > I'm a little confused. > Isn't it useless to set PREF_JS_EXPORTS _after_ including rules.mk? > http://mxr.mozilla.org/comm-central/search?string=PREF_JS_EXPORTS&case=on Mmmm you're right. Can you file a followup bug?
Depends on: 769130
(In reply to Mike Hommey [:glandium] from comment #9) > Can you file a followup bug? Bug 769130 Submitted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: