autoconfig-all.cfg (1099B)
1 // # don't remove this comment! (the first line is ignored by Mozilla) 2 3 // Verify this one has a user value 4 pref("_autoconfig_.test.userpref", "userpref"); 5 6 // Verify this one has a default pref 7 defaultPref("_autoconfig_.test.defaultpref", "defaultpref"); 8 9 // Verify this one is locked 10 lockPref("_autoconfig_.test.lockpref", "lockpref"); 11 12 lockPref("_autoconfig_.test.unlockpref", "unlockpref"); 13 // Verify this one is unlocked 14 unlockPref("_autoconfig_.test.unlockpref"); 15 16 pref("_autoconfig_.test.clearpref", "clearpref"); 17 // Verify this one has no value 18 clearPref("_autoconfig_.test.clearpref"); 19 20 // Verify this one is set to the correct value 21 pref("_autoconfig_.test.getpref.query", "getpref"); 22 pref("_autoconfig_.test.getpref", getPref("_autoconfig_.test.getpref.query")); 23 24 // Verify this one is set to the correct value 25 pref("_autoconfig_.test.getenv", getenv("AUTOCONFIG_TEST_GETENV")); 26 27 // Since we can't test displayError directly, verify that it 28 // exists and is a function 29 pref("_autoconfig_.test.displayerror", typeof(displayError)); 30 31 // We are not getPrefBranch because it is being removed