Bug 706560 - Send MOZ_APP_ID to crash reporter. r=ted

This commit is contained in:
Doug Turner 2011-12-01 19:24:10 -08:00
parent f1b6f27607
commit 8876a07f69

View File

@ -2816,6 +2816,9 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData)
if (appData.name)
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("ProductName"),
nsDependentCString(appData.name));
if (appData.ID)
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("ProductID"),
nsDependentCString(appData.ID));
if (appData.version)
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("Version"),
nsDependentCString(appData.version));