"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "toolkit/modules/Troubleshoot.jsm" between
UXP-RELBASE_20210427.tar.gz and UXP-RELBASE_20210608.tar.gz

About: Basilisk is a full-featured, optimized browser derived from the code behind the pre-Servo Firefox browser (29–56 era). UXP = Unified XUL Platform. Source code.

Troubleshoot.jsm  (UXP-RELBASE_20210427):Troubleshoot.jsm  (UXP-RELBASE_20210608)
skipping to change at line 99 skipping to change at line 99
"ui.osk.detect_physical_keyboard", "ui.osk.detect_physical_keyboard",
"ui.osk.require_tablet_mode", "ui.osk.require_tablet_mode",
"ui.osk.debug.keyboardDisplayReason", "ui.osk.debug.keyboardDisplayReason",
"webgl.", "webgl.",
]; ];
// The blacklist, unlike the whitelist, is a list of regular expressions. // The blacklist, unlike the whitelist, is a list of regular expressions.
const PREFS_BLACKLIST = [ const PREFS_BLACKLIST = [
/^network[.]proxy[.]/, /^network[.]proxy[.]/,
/[.]print_to_filename$/, /[.]print_to_filename$/,
/^print[.]printer_/,
/^print[.]macosx[.]pagesetup/, /^print[.]macosx[.]pagesetup/,
]; ];
// Table of getters for various preference types. // Table of getters for various preference types.
// It's important to use getComplexValue for strings: it returns Unicode (wchars ), getCharPref returns UTF-8 encoded chars. // It's important to use getComplexValue for strings: it returns Unicode (wchars ), getCharPref returns UTF-8 encoded chars.
const PREFS_GETTERS = {}; const PREFS_GETTERS = {};
PREFS_GETTERS[Ci.nsIPrefBranch.PREF_STRING] = (prefs, name) => prefs.getComplexV alue(name, Ci.nsISupportsString).data; PREFS_GETTERS[Ci.nsIPrefBranch.PREF_STRING] = (prefs, name) => prefs.getComplexV alue(name, Ci.nsISupportsString).data;
PREFS_GETTERS[Ci.nsIPrefBranch.PREF_INT] = (prefs, name) => prefs.getIntPref(nam e); PREFS_GETTERS[Ci.nsIPrefBranch.PREF_INT] = (prefs, name) => prefs.getIntPref(nam e);
PREFS_GETTERS[Ci.nsIPrefBranch.PREF_BOOL] = (prefs, name) => prefs.getBoolPref(n ame); PREFS_GETTERS[Ci.nsIPrefBranch.PREF_BOOL] = (prefs, name) => prefs.getBoolPref(n ame);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)