[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-140.2.0esr-15.0-1] fixup! BB 18905: Hide unwanted items from help menu



Title: GitLab

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

Commits:

  • 518cccfe
    by Henry Wilkes at 2025-08-19T12:53:57+00:00
    fixup! BB 18905: Hide unwanted items from help menu
    
    TB 43903: Hide "Report broken site" items.
    

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 {
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx