Closed Bug 252307 Opened 21 years ago Closed 20 years ago

changes in user.js not reflected in pref.js

Categories

(Core :: Preferences: Backend, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 50038

People

(Reporter: carlo, Assigned: bugzilla)

Details

User-Agent: Opera/7.23 (Windows 98; U) [en] Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040614 Firefox/0.9 Sometimes I changes Mozilla Suite user agent ID. Today I tried for the first time in Firefox and found that problem: browser closed, I open Firefox user.js file, edit it, and set user_pref("general.useragent.override", "Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)"); then I open the browser and UA (user agent) string is correctly the one I wrote in the user.js file. The file pref.js has been changed automatically by the program. Then I close the program, open user.js, comment the line with // (no blank lines left elsewhere), open the program again and the ovverrided string is still there in pref.js (I can also see it in about:config). When I say "I close the program" I really mean it, it's not in the system tray or the process still active (one could think that was the responsible of this). Commenting the string or deleting it carries the same result: nothing happens. Only changing it affects the browser. Opening the user.js and changing UA string again works. So the problem is that I can't get back to the original UA ID. That's a critical bug because a person that changes or delete the modified UA ID could browse sites without knowing he's still identifing with the string he once set and then deleted. I hope my English was good enough to explain the problem. :-) Reproducible: Always Steps to Reproduce: 1.open user.js and add general.useragent.override string 2.open Firefox, check UA ID, close it 3.open user.js, comment or delete the previous added string 4.open Firefox, check UA ID Actual Results: The browser identifies itself as the UA set before. Expected Results: User agent string would be automatically set to default once it had been deleted from user.js.
*** This bug has been marked as a duplicate of 97397 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Component: Preferences → Preferences: Backend
Product: Firefox → Browser
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
better dupe is Bug 50038
reopening to dupe correctly
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** This bug has been marked as a duplicate of 50038 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.