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

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



Title: GitLab

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

Commits:

  • 5e35ef8d
    by Henry Wilkes at 2023-06-12T16:04:27+01:00
    fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
    
    Bug 41836: Rename deinit to uninit.
    

2 changed files:

Changes:

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

  • browser/components/torconnect/content/torConnectUrlbarButton.js
    ... ... @@ -89,7 +89,7 @@ var gTorConnectUrlbarButton = {
    89 89
       /**
    
    90 90
        * Deactivate and de-initialize the button.
    
    91 91
        */
    
    92
    -  deinit() {
    
    92
    +  uninit() {
    
    93 93
         if (!this._isActive) {
    
    94 94
           return;
    
    95 95
         }
    
    ... ... @@ -115,7 +115,7 @@ var gTorConnectUrlbarButton = {
    115 115
           TorConnect.state === TorConnectState.Bootstrapped ||
    
    116 116
           TorConnect.state === TorConnectState.Disabled
    
    117 117
         ) {
    
    118
    -      this.deinit();
    
    118
    +      this.uninit();
    
    119 119
           return;
    
    120 120
         }
    
    121 121
         this._updateButtonVisibility();
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits