Bug 1115040 - Record experiment branch in crash reports, r=gfritzsche

--HG--
extra : rebase_source : be0ea6c22caec12df9075829adab05bd9de1272d
This commit is contained in:
Benjamin Smedberg 2014-12-23 12:21:14 -05:00
parent 0524e8f296
commit 094c71b494

View File

@ -1325,6 +1325,7 @@ Experiments.Experiments.prototype = {
if ("@mozilla.org/toolkit/crash-reporter;1" in Cc && activeExperiment) {
try {
gCrashReporter.annotateCrashReport("ActiveExperiment", activeExperiment.id);
gCrashReporter.annotateCrashReport("ActiveExperimentBranch", activeExperiment.branch);
} catch (e) {
// It's ok if crash reporting is disabled.
}