Open Bug 1809376 Opened 3 years ago Updated 3 years ago

mozilla.cfg not working

Categories

(Firefox :: Settings UI, enhancement)

Firefox 108
enhancement

Tracking

()

People

(Reporter: gurumaharashi, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

"c:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js"
contains:
pref("mozilla.cfg");
And settings there such as:
lockPref("browser.cache.disk.parent_directory", "D:\CACHE");
are ignored in latest FF 108.0.2

Actual results:

Cache isn-t redirected to desired place.

Expected results:

Cache should go to D:\CACHE

Found the problem:
One of the elements on the Mozilla.cfg file missed closing parenthesis. That invalidated ALL settings, even elements before the offending line.
So bug should be changed to Mozilla.cfg parser ignores whole file if there's any mismatching parenthesis.

Setting a component for this issue but I'm not sure its the correct one, maybe one of our developers can take a look and move it to the correct component.
Ill open this issue as an Enhancement, maybe there is a way to make Firefox ignore just the offending line and not the entire file ?

Severity: -- → S4
Status: UNCONFIRMED → NEW
Type: defect → enhancement
Component: Untriaged → Settings UI
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.