morgan pushed to branch tor-browser-140.2.0esr-15.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • browser/components/reportbrokensite/ReportBrokenSite.sys.mjs
    ... ... @@ -452,9 +452,8 @@ export var ReportBrokenSite = new (class ReportBrokenSite {
    452 452
         // Altering the disabled attribute on the command does not propagate
    
    453 453
         // the change to the related menuitems (see bug 805653), so we change them all.
    
    454 454
         const cmd = document.getElementById("cmd_reportBrokenSite");
    
    455
    -    const allowedByPolicy = Services.policies.isAllowed(
    
    456
    -      "DisableFeedbackCommands"
    
    457
    -    );
    
    455
    +    // Hide the items in base-browser. tor-browser#43903.
    
    456
    +    const allowedByPolicy = false;
    
    458 457
         if (allowedByPolicy) {
    
    459 458
           cmd.setAttribute("hidden", "false"); // see bug 805653
    
    460 459
         } else {