Loading browser/base/content/browser.js.globals +2 −1 Original line number Diff line number Diff line Loading @@ -276,5 +276,6 @@ "BrowserSearch", "SecurityLevelButton", "NewIdentityButton", "TorDomainIsolator" "TorDomainIsolator", "gTorCircuitPanel" ] browser/components/torcircuit/content/torCircuitPanel.js +9 −6 Original line number Diff line number Diff line Loading @@ -54,12 +54,9 @@ var gTorCircuitPanel = { init() { this._isActive = true; const { ConsoleAPI } = ChromeUtils.import( "resource://gre/modules/Console.jsm" ); this._log = new ConsoleAPI({ this._log = console.createInstance({ prefix: "TorCircuitPanel", maxLogLevel: "log", maxLogLevel: "Log", maxLogLevelPref: "browser.torcircuitpanel.loglevel", }); Loading Loading @@ -209,8 +206,11 @@ var gTorCircuitPanel = { /** * Observe circuit changes. * * @param {nsISupports} subject Notification-specific data * @param {string} topic The notification topic */ observe(subject, topic, data) { observe(subject, topic) { switch (topic) { case this.TOR_CIRCUIT_TOPIC: // TODO: Maybe check if we actually need to do something earlier. Loading Loading @@ -244,6 +244,8 @@ var gTorCircuitPanel = { * Note that this element instance may change whenever its parent element * (#tor-circuit-alias-label) is re-translated. Attributes should be copied to * the new instance. * * @returns {Element?} */ get _aliasLink() { return this._panelElements.aliasLabel.querySelector( Loading Loading @@ -378,6 +380,7 @@ var gTorCircuitPanel = { /** * Get the tor onion address alias for the given domain. * * @param {string} domain An .onion domain to query an alias for. * @returns {string} The alias domain, or null if it has no alias. */ _getOnionAlias(domain) { Loading browser/components/torcircuit/moz.build +1 −1 Original line number Diff line number Diff line JAR_MANIFESTS += ['jar.mn'] JAR_MANIFESTS += ["jar.mn"] tools/torbrowser/update_emojis.py +3 −3 Original line number Diff line number Diff line Loading @@ -3,12 +3,12 @@ pull locale emoji descriptions form Unicode CLDR. """ import re import json import argparse import datetime import json import re from pathlib import Path from shutil import copyfile import argparse from xml.dom.minidom import parse # Currently the script is in tools/torbrowser/ Loading Loading
browser/base/content/browser.js.globals +2 −1 Original line number Diff line number Diff line Loading @@ -276,5 +276,6 @@ "BrowserSearch", "SecurityLevelButton", "NewIdentityButton", "TorDomainIsolator" "TorDomainIsolator", "gTorCircuitPanel" ]
browser/components/torcircuit/content/torCircuitPanel.js +9 −6 Original line number Diff line number Diff line Loading @@ -54,12 +54,9 @@ var gTorCircuitPanel = { init() { this._isActive = true; const { ConsoleAPI } = ChromeUtils.import( "resource://gre/modules/Console.jsm" ); this._log = new ConsoleAPI({ this._log = console.createInstance({ prefix: "TorCircuitPanel", maxLogLevel: "log", maxLogLevel: "Log", maxLogLevelPref: "browser.torcircuitpanel.loglevel", }); Loading Loading @@ -209,8 +206,11 @@ var gTorCircuitPanel = { /** * Observe circuit changes. * * @param {nsISupports} subject Notification-specific data * @param {string} topic The notification topic */ observe(subject, topic, data) { observe(subject, topic) { switch (topic) { case this.TOR_CIRCUIT_TOPIC: // TODO: Maybe check if we actually need to do something earlier. Loading Loading @@ -244,6 +244,8 @@ var gTorCircuitPanel = { * Note that this element instance may change whenever its parent element * (#tor-circuit-alias-label) is re-translated. Attributes should be copied to * the new instance. * * @returns {Element?} */ get _aliasLink() { return this._panelElements.aliasLabel.querySelector( Loading Loading @@ -378,6 +380,7 @@ var gTorCircuitPanel = { /** * Get the tor onion address alias for the given domain. * * @param {string} domain An .onion domain to query an alias for. * @returns {string} The alias domain, or null if it has no alias. */ _getOnionAlias(domain) { Loading
browser/components/torcircuit/moz.build +1 −1 Original line number Diff line number Diff line JAR_MANIFESTS += ['jar.mn'] JAR_MANIFESTS += ["jar.mn"]
tools/torbrowser/update_emojis.py +3 −3 Original line number Diff line number Diff line Loading @@ -3,12 +3,12 @@ pull locale emoji descriptions form Unicode CLDR. """ import re import json import argparse import datetime import json import re from pathlib import Path from shutil import copyfile import argparse from xml.dom.minidom import parse # Currently the script is in tools/torbrowser/ Loading