Open Bug 706053 Opened 12 years ago Updated 5 months ago

changes to default preference branch doesn't persist

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: ashi009, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

As a bootstrapped extension can't have its prefs.js, so I tried to set up defaultBranch in bootstrap.js::install(). And retrieve the value of the specified key in next browser session.

Here is the code:
Services.prefs.getDefaultBranch('extension.bootstrapdemo.').setBoolPref('installed', true);



Actual results:

The 'extesnion.bootstrapdemo.installed' is gone after reboot the browser.


Expected results:

'extesnion.bootstrapdemo.installed' should persist after reboot.
Version: 8 Branch → Trunk
OS: Windows 7 → All
Hardware: x86_64 → All
Component: General → Preferences
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.