data |
|
|
extdata |
|
|
head_libPrefs.js |
|
1080 |
test_backupPrefFile.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1455 |
test_bug345529.js |
|
798 |
test_bug506224.js |
|
799 |
test_bug577950.js |
Set the same pref twice. This shouldn't leak. |
591 |
test_bug790374.js |
First, test to make sure we can parse a float from a string properly. |
1474 |
test_bug1354613.js |
Test with a non-default branch |
595 |
test_changeType.js |
Tests for changing the type of a preference (bug 985998) |
6918 |
test_defaultValues.js |
Tests for providing a default value to get{Bool,Char,Float,Int}Pref |
2310 |
test_dirtyPrefs.js |
Tests for handling of the preferences 'dirty' flag (bug 985998) |
2394 |
test_libPrefs.js |
//
// Nullsafety
do_check_throws(function () {
ps.getPrefType(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.getBoolPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.setBoolPref(null, false);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.getIntPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.setIntPref(null, 0);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.getCharPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.setCharPref(null, null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.getStringPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.setStringPref(null, null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.clearUserPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.prefHasUserValue(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.lockPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.prefIsLocked(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.unlockPref(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.deleteBranch(null);
}, Cr.NS_ERROR_INVALID_ARG);
do_check_throws(function () {
ps.getChildList(null);
}, Cr.NS_ERROR_INVALID_ARG);
//* ************************************************************************ |
15613 |
test_locked_file_prefs.js |
|
1966 |
test_parsePrefs.js |
|
4221 |
test_parser.js |
hmm |
4709 |
test_stickyprefs.js |
|
6818 |
test_warnings.js |
@resolves |true| if execution proceeded without warning,
|false| if there was a warning.
|
1754 |
xpcshell.toml |
|
819 |