[tbb-commits] [tor-browser] branch tor-browser-91.9.0esr-11.5-1 updated: fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

gitolite role git at cupani.torproject.org
Tue May 31 09:49:58 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-1
in repository tor-browser.

The following commit(s) were added to refs/heads/tor-browser-91.9.0esr-11.5-1 by this push:
     new 16e50d4adb966 fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
16e50d4adb966 is described below

commit 16e50d4adb9664c751dda7aead67e7021719dce6
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
    
    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 tbb-commits mailing list