Closed Bug 261874 Opened 21 years ago Closed 21 years ago

Several user_prefs in user.js are ignored.

Categories

(Firefox :: Settings UI, defect)

1.0 Branch
x86
OS/2
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: snapdrgn, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; rv:1.7.3) Gecko/20040914 Firefox/0.10 Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; rv:1.7.3) Gecko/20040914 Firefox/0.10 Known prefs ignored in user.js but active if entered thru prefs-UI: user_pref("browser.cache.disk.parent_directory","G:\"); user_pref("browser.startup.homepage", "http://www.cruzio.com"); user_pref("browser.startup.page",0); user_pref("browser.throbber.url", "http://"); Several security.warn_.. prefs are ignored also, but i'm not sure what they do. This is simular to bug 234846 Reproducible: Always Steps to Reproduce: 1.delete prefs.js,xpti.dat,XUL.mfi (just in case) 2.start browser 3.check about:config Actual Results: browser is using the default (in profile) cache path, throbber still throbs to go home to Mozilla.org and mozilla startup page loads. Expected Results: load blank page, and use g:\cache as the cache directory. Throbber URL should be disabled.
Where did you put user.js?
Yes, I can reproduce that here. Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 1.0 Branch
browser.startup.page isn't a Firefox pref. Other than that, do any prefs get read in at all?
Wait, yesterday I just copied the listed prefs as they are. But the first line contains "G:\" instead of "G:\\" (the backslash needs to be escaped). This basically means that the first prefs never ends. "browser.cache.disk.parent_directory" then contains G:"); user_pref( and the rest of the file is just garbage to FF. If I change the first line to be user_pref("browser.cache.disk.parent_directory","G:\\"); everything I put afterwards is copied to prefs.js and FF starts with the expected pref settings. I hence resolve as invalid.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.