Confirmed users
146
edits
| Line 2: | Line 2: | ||
Add-ons may want to store settings or other data on the local computer. In the past, add-ons would use preferences or an arbitrary location on the user's filesystem. [https://bugzilla.mozilla.org/show_bug.cgi?id=872980 Preferences are less than ideal], so each Addon object should provide built-in helpers to read and write data specific to the add-on. | Add-ons may want to store settings or other data on the local computer. In the past, add-ons would use preferences or an arbitrary location on the user's filesystem. [https://bugzilla.mozilla.org/show_bug.cgi?id=872980 Preferences are less than ideal], so each Addon object should provide built-in helpers to read and write data specific to the add-on. | ||
Bugzilla bug 915838 is for the implementation of whatever design we decide on here. | |||
== Option 1: Direct access to a nsIFile object == | == Option 1: Direct access to a nsIFile object == | ||