diff --git a/dom/security/test/https-only/browser_hsts_host.js b/dom/security/test/https-only/browser_hsts_host.js index 2bef7ffe4481..62e3055833ec 100644 --- a/dom/security/test/https-only/browser_hsts_host.js +++ b/dom/security/test/https-only/browser_hsts_host.js @@ -104,6 +104,13 @@ function onNewMessage(msgObj) { if (message.includes("Upgrading insecure request")) { ok(false, "Top-Level upgrade shouldn't get logged"); testFinished = true; + } else if ( + message.includes("Upgrading insecure speculative TCP connection") + ) { + // TODO: Check assertion + // https://bugzilla.mozilla.org/show_bug.cgi?id=1735683 + ok(true, "Top-Level upgrade shouldn't get logged"); + testFinished = true; } else if (gBrowser.selectedBrowser.currentURI.scheme === "https") { ok(true, "Top-Level upgrade shouldn't get logged"); testFinished = true;