[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.12.0esr-13.0-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Jun 12 16:07:04 UTC 2023



Pier Angelo Vendrame pushed to branch tor-browser-102.12.0esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
bdf8a647 by Henry Wilkes at 2023-06-12T18:06:58+02:00
fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 41836: Rename deinit to uninit.

- - - - -


2 changed files:

- browser/components/torconnect/content/torConnectTitlebarStatus.js
- browser/components/torconnect/content/torConnectUrlbarButton.js


Changes:

=====================================
browser/components/torconnect/content/torConnectTitlebarStatus.js
=====================================
@@ -56,7 +56,7 @@ var gTorConnectTitlebarStatus = {
   /**
    * De-initialize the component.
    */
-  deinit() {
+  uninit() {
     Services.obs.removeObserver(this._stateListener, this._observeTopic);
   },
 


=====================================
browser/components/torconnect/content/torConnectUrlbarButton.js
=====================================
@@ -89,7 +89,7 @@ var gTorConnectUrlbarButton = {
   /**
    * Deactivate and de-initialize the button.
    */
-  deinit() {
+  uninit() {
     if (!this._isActive) {
       return;
     }
@@ -115,7 +115,7 @@ var gTorConnectUrlbarButton = {
       TorConnect.state === TorConnectState.Bootstrapped ||
       TorConnect.state === TorConnectState.Disabled
     ) {
-      this.deinit();
+      this.uninit();
       return;
     }
     this._updateButtonVisibility();



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/bdf8a647ad3847eda57b0b138b1a98e72ea0e0f3

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/bdf8a647ad3847eda57b0b138b1a98e72ea0e0f3
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230612/c9d61391/attachment-0001.htm>


More information about the tbb-commits mailing list