Yes. MOZ_CRASHREPORTER_DISABLE is the best way to do that.

Unfortunately because of how the crash reporter is hooked up, there's no
easy way to disable via policy.

Mike

On Wed, Mar 24, 2021 at 1:12 PM Tiago Marques Delboni <
tiago.delb...@almg.gov.br> wrote:

> Hi!
>
> What is the advised way to disable crash reports on ESR 78 (Windows)?
>
> Is there a policy or config to do it? On an old config I found this, but I
> don't know if it still holds:
>
> // Disable crash reporter
> lockPref("toolkit.crashreporter.enabled", false);
> Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports
> = false;
>
>
> Setting environment variable MOZ_CRASHREPORTER_DISABLE = 1 do the trick?
>
> Cheers!
> --
>
> *Tiago Marques Delboni*
> Gerência de Aplicações e Suporte a Clientes / GTI
> (31) 2108-7700
> [image: Assembleia Legislativa de Minas Gerais] <http://www.almg.gov.br> 
> [image:
> Facebook da Assembleia] <http://www.facebook.com/assembleiademinas> [image:
> Twitter da Assembleia] <http://www.twitter.com/assembleiamg> [image:
> Instagram da Assembleia] <http://www.instagram.com/assembleiademinas> [image:
> Youtube da Assembleia] <http://www.youtube.com/assembleiamg/>
> _______________________________________________
> Enterprise mailing list
> Enterprise@mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> enterprise-requ...@mozilla.org with a subject of "unsubscribe"
>
_______________________________________________
Enterprise mailing list
Enterprise@mozilla.org
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
enterprise-requ...@mozilla.org with a subject of "unsubscribe"

Reply via email to