Loading toolkit/content/aboutNetError.mjs +16 −15 Original line number Diff line number Diff line Loading @@ -1384,11 +1384,12 @@ async function ensureCertErrorCode() { i++; errorCode = await retryCertErrorCode(); } } if (!errorCode) { errorCode = gErrorCode; async function maybeRedirectToBootstrap() { if (gErrorCode !== "proxyConnectFailure") { return; } if (errorCode === "proxyConnectFailure") { let inIframe; try { inIframe = window.self !== window.top; Loading @@ -1402,10 +1403,10 @@ async function ensureCertErrorCode() { document.location.replace(`about:torconnect?redirect=${encodedRedirect}`); } } } async function main() { await ensureCertErrorCode(); await maybeRedirectToBootstrap(); if (!NetErrorCard.isSupported()) { // Initialize the error registry for legacy path initializeRegistry(); Loading Loading
toolkit/content/aboutNetError.mjs +16 −15 Original line number Diff line number Diff line Loading @@ -1384,11 +1384,12 @@ async function ensureCertErrorCode() { i++; errorCode = await retryCertErrorCode(); } } if (!errorCode) { errorCode = gErrorCode; async function maybeRedirectToBootstrap() { if (gErrorCode !== "proxyConnectFailure") { return; } if (errorCode === "proxyConnectFailure") { let inIframe; try { inIframe = window.self !== window.top; Loading @@ -1402,10 +1403,10 @@ async function ensureCertErrorCode() { document.location.replace(`about:torconnect?redirect=${encodedRedirect}`); } } } async function main() { await ensureCertErrorCode(); await maybeRedirectToBootstrap(); if (!NetErrorCard.isSupported()) { // Initialize the error registry for legacy path initializeRegistry(); Loading