зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1171677 - Part 1. Safe mode exposed in crash reporter. r=tmielczarek
--HG-- extra : rebase_source : 7a1bc686a238ced963507c89cdb18951cea4a940
This commit is contained in:
Родитель
be8b70fa10
Коммит
a9bc8bd121
|
@ -3428,6 +3428,12 @@ XREMain::XRE_mainInit(bool* aExitFlag)
|
|||
gSafeMode = true;
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("SafeMode"),
|
||||
gSafeMode ? NS_LITERAL_CSTRING("1") :
|
||||
NS_LITERAL_CSTRING("0"));
|
||||
#endif
|
||||
|
||||
// Handle --no-remote and --new-instance command line arguments. Setup
|
||||
// the environment to better accommodate other components and various
|
||||
// restart scenarios.
|
||||
|
|
Загрузка…
Ссылка в новой задаче