зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1193365 - Disable push debug. r=kitcambridge
--HG-- extra : commitid : 9Gf6AN5z3TX extra : rebase_source : 9555cab8a9739e9a9af4fa682495e78a61fee727
This commit is contained in:
Родитель
603eac64be
Коммит
6e05417442
|
@ -5,7 +5,7 @@
|
|||
"use strict";
|
||||
|
||||
// Don't modify this, instead set dom.push.debug.
|
||||
let gDebuggingEnabled = true;
|
||||
let gDebuggingEnabled = false;
|
||||
|
||||
function debug(s) {
|
||||
if (gDebuggingEnabled)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"use strict";
|
||||
|
||||
// Don't modify this, instead set dom.push.debug.
|
||||
let gDebuggingEnabled = true;
|
||||
let gDebuggingEnabled = false;
|
||||
|
||||
function debug(s) {
|
||||
if (gDebuggingEnabled)
|
||||
|
@ -20,6 +20,8 @@ const Cr = Components.results;
|
|||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
gDebuggingEnabled = Services.prefs.getBoolPref("dom.push.debug");
|
||||
|
||||
const kMessages = [
|
||||
"PushService:Register:OK",
|
||||
"PushService:Register:KO",
|
||||
|
|
|
@ -4458,9 +4458,7 @@ pref("dom.mozAlarms.enabled", false);
|
|||
|
||||
pref("dom.push.enabled", false);
|
||||
|
||||
#if !defined(RELEASE_BUILD)
|
||||
pref("dom.push.debug", true);
|
||||
#endif
|
||||
pref("dom.push.debug", false);
|
||||
|
||||
pref("dom.push.serverURL", "wss://push.services.mozilla.com/");
|
||||
pref("dom.push.userAgentID", "");
|
||||
|
|
Загрузка…
Ссылка в новой задаче