Bug 1059390 - Part 2: Store remote Breakpad ID for submissions through CrashSubmit. r=gps
authorBirunthan Mohanathas <birunthan@mohanathas.com>
Thu, 28 Aug 2014 21:03:02 -0700
changeset 202069 47551e5606d5e016f1dd108e6770be2a46894a4c
parent 202068 28176a2e986134abd737cd2a5936aa82efbc20e8
child 202070 a90376972bed8530e56e15d5ae1b426ef8f4da50
push id48329
push userbirunthan@mohanathas.com
push dateThu, 28 Aug 2014 13:05:39 +0000
treeherdermozilla-inbound@a90376972bed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1059390
milestone34.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 1059390 - Part 2: Store remote Breakpad ID for submissions through CrashSubmit. r=gps
toolkit/crashreporter/CrashSubmit.jsm
--- a/toolkit/crashreporter/CrashSubmit.jsm
+++ b/toolkit/crashreporter/CrashSubmit.jsm
@@ -292,16 +292,19 @@ Submitter.prototype = {
           xhr.status == 200 ? parseKeyValuePairs(xhr.responseText) : {};
         let submitted = !!ret.CrashID;
 
         if (self.recordSubmission) {
           let result = submitted ? manager.SUBMISSION_RESULT_OK :
                                    manager.SUBMISSION_RESULT_FAILED;
           manager.addSubmissionResult(self.id, submissionID, new Date(),
                                       result);
+          if (submitted) {
+            manager.setRemoteCrashID(self.id, ret.CrashID);
+          }
         }
 
         if (submitted) {
           self.submitSuccess(ret);
         }
         else {
            self.notifyStatus(FAILED);
            self.cleanup();