So this is happening because the dom.push.enabled pref is false, so PushComponents.jsm throws NS_ERROR_NOT_AVAILABLE when trying to access the PushService singleton. I think we can solve this by just swallowing the exception, but I need to look through the code a bit more to be sure.
So this is happening because the dom.push.enabled pref is false, so PushComponents.jsm throws NS_ERROR_NOT_AVAILABLE when trying to access the PushService singleton. I think we can solve this by just swallowing the exception, but I need to look through the code a bit more to be sure.
So, this is actually a Firefox bug given that the pref is set to falsein plain esr68? If so, please file an upstream bug as well and get the patch attached there, too, thanks.
This issue appears to have been fixed in gecko-dev commit 6a0111db7ba5a1a92f3eb68b89cb415bd08a4f3e in Mozilla Bug 1369436. It's a relatively small change so I'll see if back-porting to ESR68 makes this problem go away.
EDIT:
So after backporting this patch (as well as a follow-up fix 192e75e65bb32ce824c332992135aa7e9d6f246d) this issue is still occurring, and in fact this occurs in stock firefox 70 as well when dom.push.enabled is false.