[tor-commits] [tor-browser] 65/85: fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

gitolite role git at cupani.torproject.org
Fri Jun 10 17:01:56 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-91.9.0esr-11.5-2
in repository tor-browser.

commit 1aca00cf41dfb597443284d727f8856cda9bc02c
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Mon May 30 14:50:55 2022 +0000

    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    Fixes for bugs found in 91.9, to keep as a fixup also in 91.10.
    
    Bug 40971: Fixed the Help button on the provide bridge dialog
---
 .../components/torpreferences/content/provideBridgeDialog.jsm  | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/browser/components/torpreferences/content/provideBridgeDialog.jsm b/browser/components/torpreferences/content/provideBridgeDialog.jsm
index b73a6f533afa6..2e858bc338008 100644
--- a/browser/components/torpreferences/content/provideBridgeDialog.jsm
+++ b/browser/components/torpreferences/content/provideBridgeDialog.jsm
@@ -22,7 +22,7 @@ class ProvideBridgeDialog {
     };
   }
 
-  _populateXUL(aDialog) {
+  _populateXUL(window, aDialog) {
     const selectors = ProvideBridgeDialog.selectors;
 
     this._dialog = aDialog;
@@ -45,12 +45,18 @@ class ProvideBridgeDialog {
     this._dialog.addEventListener("dialogaccept", e => {
       this._bridgeString = this._textarea.value;
     });
+    this._dialog.addEventListener("dialoghelp", e => {
+      window.top.openTrustedLinkIn(
+        "https://tb-manual.torproject.org/bridges/",
+        "tab"
+      );
+    });
   }
 
   init(window, aDialog) {
     // defer to later until firefox has populated the dialog with all our elements
     window.setTimeout(() => {
-      this._populateXUL(aDialog);
+      this._populateXUL(window, aDialog);
     }, 0);
   }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list