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 223831 47551e5606d5e016f1dd108e6770be2a46894a4c
parent 223830 28176a2e986134abd737cd2a5936aa82efbc20e8
child 223832 a90376972bed8530e56e15d5ae1b426ef8f4da50
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [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();