Closed Bug 594068 Opened 14 years ago Closed 5 years ago

Preferences.js: allow observers for branches

Categories

(Mozilla Labs :: JS Modules, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: philikon, Unassigned)

Details

nsIPrefBranch2 allows you to register pref observers for all prefs that begin with a certain string, e.g. an observer registered for "foo.bar." will be triggered for "foo.bar.baz" and "foo.bar.bay" etc. Preference.js doesn't allow this currently (it explicitly checks in its pref observer that the pref names match). We needed this in Sync (see bug 578671), this is a follow-up to make sure it gets backported.
Closing all inactive bugs in Mozilla labs :: *
Please reopen if this are still relevant.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.