Source code

Revision control

Copy as Markdown

Other Tools

// # don't remove this comment! (the first line is ignored by Mozilla)
// Verify this one has a user value
pref("_autoconfig_.test.userpref", "userpref");
// Verify this one has a default pref
defaultPref("_autoconfig_.test.defaultpref", "defaultpref");
// Verify this one is locked
lockPref("_autoconfig_.test.lockpref", "lockpref");
lockPref("_autoconfig_.test.unlockpref", "unlockpref");
// Verify this one is unlocked
unlockPref("_autoconfig_.test.unlockpref");
pref("_autoconfig_.test.clearpref", "clearpref");
// Verify this one has no value
clearPref("_autoconfig_.test.clearpref");