Closed
Bug 301696
Opened 19 years ago
Closed 19 years ago
user_pref unable to change type of the preference
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: peter, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
I incorrectly added the following line to user.js
user_pref("browser.dom.window.dump.enabled", "true");
This line is incorrect because I set the string true rather than the boolean
value true. So I changed the line to
user_pref("browser.dom.window.dump.enabled", true); // NO QUOTES!!!
Upon restarting mozilla I went to about:config and noted that the type of the
key was still a string.
I used the reset option from about:config, and then restarted mozilla and
finally the option was set to boolean.
Reproducible: Always
Steps to Reproduce:
1. Add the line 'user_pref("browser.dom.window.dump.enabled", "true");' to user.js
2. Start Mozilla, quit mozilla.
3. Edit user.js and remove the quotes from around the true
4. Start mozilla
5. Navigate to about:config and see that the type of the key is still a string.
Comment 1•19 years ago
|
||
user.js entries get copied to prefs.js... you need to remove the invalid entry from there...
| Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1) > user.js entries get copied to prefs.js... you need to remove the invalid entry > from there... Yes this is another work-around, but I shouldn't have to edit prefs.js, my changes to user.js should be automatically propogated there (and they are providing the type of the preference is the same).
Comment 4•19 years ago
|
||
Yes, zug, this certainly looks like a dupe to me. *** This bug has been marked as a duplicate of 50038 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•