Bug 806515 - Part 2: use the URL field for content crash. r=kairo
authorHubert Figuière <hfiguiere@mozilla.com>
Thu, 27 Dec 2012 12:36:28 -0500
changeset 126228 1ebc8df48c4cfa8fa142189491e43dc512687a36
parent 126227 422309d2a0724da8f47365c3d49fa981abe4ca6a
child 126229 75a09d9557b9cae550f59b7b377a2b47092317e4
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskairo
bugs806515
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 806515 - Part 2: use the URL field for content crash. r=kairo
dom/ipc/ContentParent.cpp
--- a/dom/ipc/ContentParent.cpp
+++ b/dom/ipc/ContentParent.cpp
@@ -644,17 +644,17 @@ ContentParent::ActorDestroy(ActorDestroy
         if (AbnormalShutdown == why) {
             props->SetPropertyAsBool(NS_LITERAL_STRING("abnormal"), true);
 
 #ifdef MOZ_CRASHREPORTER
             MOZ_ASSERT(ManagedPCrashReporterParent().Length() > 0);
             CrashReporterParent* crashReporter =
                     static_cast<CrashReporterParent*>(ManagedPCrashReporterParent()[0]);
 
-            crashReporter->AnnotateCrashReport(NS_LITERAL_CSTRING("AppManifestURL"),
+            crashReporter->AnnotateCrashReport(NS_LITERAL_CSTRING("URL"),
                                                NS_ConvertUTF16toUTF8(mAppManifestURL));
             crashReporter->GenerateCrashReport(this, NULL);
 
             nsAutoString dumpID(crashReporter->ChildDumpID());
             props->SetPropertyAsAString(NS_LITERAL_STRING("dumpID"), dumpID);
 #endif
         }
         obs->NotifyObservers((nsIPropertyBag2*) props, "ipc:content-shutdown", nullptr);