Bug 806515 - Send app identifier for B2G content. r=bz

--HG--
extra : rebase_source : a798a7c117e1d2af34243cd1a1bfa5b3bc701f18
This commit is contained in:
Hubert Figuière 2012-12-25 15:06:27 -08:00
parent 6e1233a84f
commit 89cd00dc98

View File

@ -649,8 +649,10 @@ ContentParent::ActorDestroy(ActorDestroyReason why)
CrashReporterParent* crashReporter =
static_cast<CrashReporterParent*>(ManagedPCrashReporterParent()[0]);
crashReporter->AnnotateCrashReport(NS_LITERAL_CSTRING("AppManifestURL"),
NS_ConvertUTF16toUTF8(mAppManifestURL));
crashReporter->GenerateCrashReport(this, NULL);
nsAutoString dumpID(crashReporter->ChildDumpID());
props->SetPropertyAsAString(NS_LITERAL_STRING("dumpID"), dumpID);
#endif