Site-Specific Preferences: Difference between revisions

Jump to navigation Jump to search
(formatting fixes, some additional info)
Line 169: Line 169:
All four methods take as input a URI belonging to the site in question and a name for the preference.  The service is responsible for extracting the name of the site from the URI.  The service defines a site as an effective domain (ETLD+1).
All four methods take as input a URI belonging to the site in question and a name for the preference.  The service is responsible for extracting the name of the site from the URI.  The service defines a site as an effective domain (ETLD+1).


<b>Should the consumer be responsible for extracting site names from URIs so that consumers can set preferences for non-standard site groupings?  Or should it be possible for consumers to register a grouper with the service that handles non-standard groupings for certain prefs/URIs?</b>
<b>Should the consumer be responsible for extracting site names from URIs so that consumers can set preferences for non-standard site groupings?  Or should it be possible for consumers to register a grouper that handles non-standard groupings for certain prefs/URIs?</b>


The name of the preference is an arbitrary string.  Preference namespacing is the responsibility of the consumer, as it is with application-wide preferences accessed via nsIPrefBranch.
The name of the preference is an arbitrary string.  Preference namespacing is the responsibility of the consumer, as it is with application-wide preferences accessed via nsIPrefBranch.
canmove, Confirmed users
2,056

edits

Navigation menu