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

Commits:

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();