Site-Specific Preferences: Difference between revisions

Line 203: Line 203:
<strong>Is that the right name for this topic?</strong>
<strong>Is that the right name for this topic?</strong>


The service passes the new value of the pref in the notification's subject parameter, which is an nsIPropertyBag containing the following properties:
The service passes the new value of the pref in the notification's aSubject parameter, which is an nsIPropertyBag containing the following properties:
* group: the site to which the preference belongs;
* group: the site to which the preference belongs;
* name: the name of the preference;
* name: the name of the preference;
Line 211: Line 211:
<strong>Should the service use a custom interface (like nsILiveTitleNotificationSubject) instead of a property bag?</strong>
<strong>Should the service use a custom interface (like nsILiveTitleNotificationSubject) instead of a property bag?</strong>


<strong>Should the service use the notification's data parameter for anything?</strong>
<strong>Should the service use the notification's aData parameter for anything?</strong>


<strong>Should we have separate <var>content-pref-set</var> and <var>content-pref-removed</var> notifications?</strong>
<strong>Should we have separate <var>content-pref-set</var> and <var>content-pref-removed</var> notifications?</strong>
canmove, Confirmed users
2,056

edits