Bug 985682 - Experiment IDs aren't loaded correctly from the cache. Tests will be separate, r=gfritzsche

This commit is contained in:
Benjamin Smedberg
2014-03-20 11:19:19 -04:00
parent 3342bf05dc
commit 6e6391b0b7

View File

@@ -638,7 +638,7 @@ Experiments.Experiments.prototype = {
if (!entry.initFromCacheData(item)) {
continue;
}
experiments.set(item.id, entry);
experiments.set(entry.id, entry);
}
this._experiments = experiments;
@@ -679,7 +679,7 @@ Experiments.Experiments.prototype = {
continue;
}
experiments.set(data.id, entry);
experiments.set(entry.id, entry);
}
// Make sure we keep experiments that are or were running.