Bug 1155253 - Back out 304f87a54059 due to a startup regression. r=me

This commit is contained in:
Doug Turner 2015-04-16 11:57:34 -07:00
parent 3e6ffd00f4
commit 1217123bb4

View File

@ -30,6 +30,9 @@ PushServiceLauncher.prototype = {
break;
case "final-ui-startup":
Services.obs.removeObserver(this, "final-ui-startup");
if (!Services.prefs.getBoolPref("dom.push.enabled")) {
return;
}
let isParent = Cc["@mozilla.org/xre/runtime;1"]
.getService(Ci.nsIXULRuntime)