Skip to content
Snippets Groups Projects
Commit f42f88e8 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser

TB 43463: Renamed TorConnect getCountryCodes to getFrequentRegions.
parent 0e9b572f
No related branches found
No related tags found
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -132,8 +132,8 @@ export class TorConnectParent extends JSWindowActorParent {
stage: TorConnect.stage,
quickstartEnabled: TorConnect.quickstart,
};
case "torconnect:get-country-codes":
return TorConnect.getCountryCodes();
case "torconnect:get-frequent-regions":
return TorConnect.getFrequentRegions();
}
return undefined;
}
......
......@@ -610,7 +610,7 @@ class AboutTorConnect {
showLocationForm(isChoose, buttonLabel) {
this.hideButtons();
RPMSendQuery("torconnect:get-country-codes").then(codes => {
RPMSendQuery("torconnect:get-frequent-regions").then(codes => {
if (codes && codes.length) {
this.populateFrequentLocations(codes);
this.setLocation();
......
......@@ -271,7 +271,7 @@ export let RemotePageAccessManager = {
],
RPMSendQuery: [
"torconnect:get-init-args",
"torconnect:get-country-codes",
"torconnect:get-frequent-regions",
],
},
"about:welcome": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment