Created attachment 8956310
Bug 440908 - Add support for `sticky` and `locked` attributes to default prefs.

Sticky prefs are already specifiable with `sticky_pref`, but this is a more
general attribute mechanism. The ability to specify a locked pref in the data
file is new.

The patch also adds nsIPrefService.readDefaultPrefsFromFile, to match the
existing nsIPrefService.readUserPrefsFromFile method, and converts a number of
the existing tests to use it.

Review commit: https://reviewboard.mozilla.org/r/225184/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/225184/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/541951

Title:
  Firefox 3.6 does not honour lockPref

Status in Mozilla Firefox:
  Fix Released
Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: firefox

  In firefox 3.5 the following worked:
  Set
  lockPref("network.proxy.type", 5);
  in /etc/firefox-3.5/pref/firefox.js

  Setting lockPref in /etc/firefox/pref/firefox.js in firefox 3.6 does
  not lock down the proxy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/541951/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to