mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
Issue #991 Part 7: Toolkit Components
This commit is contained in:
parent
c54c6d3bd2
commit
e309515e66
18 changed files with 55 additions and 204 deletions
|
|
@ -20,12 +20,7 @@ Cu.import("resource://gre/modules/NetUtil.jsm");
|
|||
|
||||
// Log only if browser.safebrowsing.debug is true
|
||||
function log(...stuff) {
|
||||
let logging = null;
|
||||
try {
|
||||
logging = Services.prefs.getBoolPref("browser.safebrowsing.debug");
|
||||
} catch(e) {
|
||||
return;
|
||||
}
|
||||
let logging = Services.prefs.getBoolPref("browser.safebrowsing.debug", false);
|
||||
if (!logging) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue