mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929012 - Annotate on crash reports that content processes are turned on (r=bsmedberg)
This commit is contained in:
parent
c4c1d8233a
commit
cc35ebc305
@ -3874,6 +3874,11 @@ XREMain::XRE_mainRun()
|
|||||||
mDirProvider.DoStartup();
|
mDirProvider.DoStartup();
|
||||||
|
|
||||||
#ifdef MOZ_CRASHREPORTER
|
#ifdef MOZ_CRASHREPORTER
|
||||||
|
if (BrowserTabsRemote()) {
|
||||||
|
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("DOMIPCEnabled"),
|
||||||
|
NS_LITERAL_CSTRING("1"));
|
||||||
|
}
|
||||||
|
|
||||||
nsCString userAgentLocale;
|
nsCString userAgentLocale;
|
||||||
if (NS_SUCCEEDED(Preferences::GetCString("general.useragent.locale", &userAgentLocale))) {
|
if (NS_SUCCEEDED(Preferences::GetCString("general.useragent.locale", &userAgentLocale))) {
|
||||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("useragent_locale"), userAgentLocale);
|
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("useragent_locale"), userAgentLocale);
|
||||||
|
Loading…
Reference in New Issue
Block a user