Commit c36ccb58 authored by Alex Catarineu's avatar Alex Catarineu Committed by Georg Koppen
Browse files

Bug 40005: Initialize the identity UI before setting up the circuit display

Caused by https://bugzilla.mozilla.org/show_bug.cgi?id=1646780.
parent bce41d2a
...@@ -445,6 +445,10 @@ let ensureCorrectPopupDimensions = function () { ...@@ -445,6 +445,10 @@ let ensureCorrectPopupDimensions = function () {
// the "enablePref" is set to true, and stopped when it is set to false. // the "enablePref" is set to true, and stopped when it is set to false.
// A reference to this function (called createTorCircuitDisplay) is exported as a global. // A reference to this function (called createTorCircuitDisplay) is exported as a global.
let setupDisplay = function (enablePrefName) { let setupDisplay = function (enablePrefName) {
// From 79 on the identity popup is initialized lazily
if (gIdentityHandler._initializePopup) {
gIdentityHandler._initializePopup();
}
setupGuardNote(); setupGuardNote();
let myController = null, let myController = null,
stopCollectingIsolationData = null, stopCollectingIsolationData = null,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment