Add back pdfBugEnabled pref check in the |log| function in extensions/firefox/content/PdfStreamConverter.jsm
This commit is contained in:
parent
3ac9bd063d
commit
c00951e3e4
@ -114,6 +114,9 @@ function getStringPref(pref, def) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function log(aMsg) {
|
function log(aMsg) {
|
||||||
|
if (!getBoolPref(PREF_PREFIX + '.pdfBugEnabled', false)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
var msg = 'PdfStreamConverter.js: ' + (aMsg.join ? aMsg.join('') : aMsg);
|
var msg = 'PdfStreamConverter.js: ' + (aMsg.join ? aMsg.join('') : aMsg);
|
||||||
Services.console.logStringMessage(msg);
|
Services.console.logStringMessage(msg);
|
||||||
dump(msg + '\n');
|
dump(msg + '\n');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user