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
88328fd5a2
commit
1281160358
@ -3874,6 +3874,11 @@ XREMain::XRE_mainRun()
|
||||
mDirProvider.DoStartup();
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
if (BrowserTabsRemote()) {
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("DOMIPCEnabled"),
|
||||
NS_LITERAL_CSTRING("1"));
|
||||
}
|
||||
|
||||
nsCString userAgentLocale;
|
||||
if (NS_SUCCEEDED(Preferences::GetCString("general.useragent.locale", &userAgentLocale))) {
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("useragent_locale"), userAgentLocale);
|
||||
|
Loading…
Reference in New Issue
Block a user