Skip to content

Extension.sys.mjs change in the wrong commit

There is a change to toolkit/components/extensions/Extension.sys.mjs

diff --git a/toolkit/components/extensions/Extension.sys.mjs b/toolkit/components/extensions/E
xtension.sys.mjs
index f26f8cc69658..6deea0f0977d 100644
--- a/toolkit/components/extensions/Extension.sys.mjs
+++ b/toolkit/components/extensions/Extension.sys.mjs
@@ -4275,8 +4275,9 @@ export class Extension extends ExtensionData {
         });
         this.permissions.delete(PRIVATE_ALLOWED_PERMISSION);
       }
+    }
 
-    // Bug 40253: Explicitly allow NoScript in Private Browsing mode.
+    // tor-browser#40253: Explicitly allow NoScript in Private Browsing mode.
     if (this.isNoScript) {
       lazy.ExtensionPermissions.add(this.id, {
         permissions: [PRIVATE_ALLOWED_PERMISSION],

in

BB 41581: Hide NoScript extension's toolbar button by default.

that should be part of

BB 41598: Prevent NoScript from being removed/disabled.

instead. Maybe it can be fixed as part of a rebase.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information