[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
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Mon Jun 12 15:08:48 UTC 2023
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:
- 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/5e35ef8d47ccedb47431bbc1e0122f97d869b2ed
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5e35ef8d47ccedb47431bbc1e0122f97d869b2ed
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/tor-commits/attachments/20230612/e6657a95/attachment-0001.htm>
More information about the tor-commits
mailing list