Bug 1322856 - Eslint failures in Extension.jsm fixed - part 3, r=me
☠☠ backed out by 90b91d69b576 ☠ ☠
authorAndrea Marchesini <amarchesini@mozilla.com>
Fri, 16 Dec 2016 22:47:51 +0100
changeset 450679 48994775ce8fd5dec5ed0df61278c8857e5e2608
parent 450678 a1a83bf44226e2c6602f347636e090525cef075b
child 450680 df725ead108fd6ff0bd4ca3f5a8d9c4e32c37c46
push id38944
push userbmo:leftysolara@gmail.com
push dateSun, 18 Dec 2016 16:01:15 +0000
reviewersme
bugs1322856
milestone53.0a1
Bug 1322856 - Eslint failures in Extension.jsm fixed - part 3, r=me
toolkit/components/extensions/Extension.jsm
--- a/toolkit/components/extensions/Extension.jsm
+++ b/toolkit/components/extensions/Extension.jsm
@@ -426,18 +426,18 @@ this.ExtensionData = class {
           this.id = this.manifest.applications.gecko.id;
         }
       } catch (e) {
         // Errors are handled by the type checks above.
       }
 
       let containersEnabled = true;
       try {
-        containerEnabled = Services.prefs.getBoolPref("privacy.userContext.enabled");
-      } catch(e) {
+        containersEnabled = Services.prefs.getBoolPref("privacy.userContext.enabled");
+      } catch (e) {
         // If we fail here, we are in some xpcshell test.
       }
 
       let permissions = this.manifest.permissions || [];
 
       let whitelist = [];
       for (let perm of permissions) {
         if (perm == "contextualIdentities" && !containersEnabled) {