Bug 1409694 - Add return statement for PreviousExperimentAddon.blocklistState. r=chutten draft
authorRyan Leake <leaker2@uni.coventry.ac.uk>
Tue, 21 Nov 2017 13:34:08 +0000
changeset 701274 67f1b717c494
parent 699660 45e764dbfd4e
child 741135 64478ceb9dbe
push id90124
push userbmo:leakey94@gmail.com
push dateTue, 21 Nov 2017 13:36:49 +0000
reviewerschutten
bugs1409694
milestone59.0a1
Bug 1409694 - Add return statement for PreviousExperimentAddon.blocklistState. r=chutten MozReview-Commit-ID: 2ZjlcOBee6z
browser/experiments/Experiments.jsm
--- a/browser/experiments/Experiments.jsm
+++ b/browser/experiments/Experiments.jsm
@@ -2243,17 +2243,17 @@ function PreviousExperimentAddon(experim
 PreviousExperimentAddon.prototype = Object.freeze({
   // BEGIN REQUIRED ADDON PROPERTIES
 
   get appDisabled() {
     return true;
   },
 
   get blocklistState() {
-    Ci.nsIBlocklistService.STATE_NOT_BLOCKED;
+    return Ci.nsIBlocklistService.STATE_NOT_BLOCKED;
   },
 
   get creator() {
     return new AddonManagerPrivate.AddonAuthor("");
   },
 
   get foreignInstall() {
     return false;