Bug 1046910 - TypeError: this._experiments is null at Experiments.Experiments.prototype._getState. r=ttaubert
authorGeorg Fritzsche <georg.fritzsche@googlemail.com>
Fri, 01 Aug 2014 14:38:45 +0200
changeset 197171 98c884189a216ea41e53d5c169aa04bc20438925
parent 197170 2fbc796ca3e20eb16b048bd30b51584fc50b9ada
child 197172 8a0d350282a69d38d4c3f13116f1ede103b87f63
push id8008
push usergeorg.fritzsche@googlemail.com
push dateFri, 01 Aug 2014 12:39:20 +0000
treeherderfx-team@98c884189a21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs1046910
milestone34.0a1
Bug 1046910 - TypeError: this._experiments is null at Experiments.Experiments.prototype._getState. r=ttaubert
browser/experiments/Experiments.jsm
--- a/browser/experiments/Experiments.jsm
+++ b/browser/experiments/Experiments.jsm
@@ -500,17 +500,17 @@ Experiments.Experiments.prototype = {
       isRefresh: this._refresh,
       isDirty: this._dirty,
       isFirstEvaluate: this._firstEvaluate,
       hasLoadTask: !!this._loadTask,
       hasMainTask: !!this._mainTask,
       hasTimer: !!this._hasTimer,
       hasAddonProvider: !!gAddonProvider,
       latestLogs: this._forensicsLogs,
-      experiments: this._experiments.keys(),
+      experiments: this._experiments ? this._experiments.keys() : null,
       terminateReason: this._terminateReason,
     };
     if (this._latestError) {
       if (typeof this._latestError == "object") {
         state.latestError = {
           message: this._latestError.message,
           stack: this._latestError.stack
         };