Loading toolkit/content/aboutNetError.mjs +16 −15 Original line number Diff line number Diff line Loading @@ -1294,11 +1294,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 @@ -1312,7 +1313,6 @@ async function ensureCertErrorCode() { document.location.replace(`about:torconnect?redirect=${encodedRedirect}`); } } } function maybeShowSSLKeyLoggingWarning() { if (!RPMIsSSLKeyLoggingEnabled()) { Loading @@ -1326,6 +1326,7 @@ function maybeShowSSLKeyLoggingWarning() { 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 @@ -1294,11 +1294,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 @@ -1312,7 +1313,6 @@ async function ensureCertErrorCode() { document.location.replace(`about:torconnect?redirect=${encodedRedirect}`); } } } function maybeShowSSLKeyLoggingWarning() { if (!RPMIsSSLKeyLoggingEnabled()) { Loading @@ -1326,6 +1326,7 @@ function maybeShowSSLKeyLoggingWarning() { async function main() { await ensureCertErrorCode(); await maybeRedirectToBootstrap(); if (!NetErrorCard.isSupported()) { // Initialize the error registry for legacy path initializeRegistry(); Loading