diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-20 04:01:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-20 04:01:55 +0000 |
commit | 0409b8aa646ea5192cd91976a89f71024129344c (patch) | |
tree | f95ba411e9e8b81d511c448d9fc010a876e8b481 /dom/security/test | |
parent | Adding upstream version 127.0. (diff) | |
download | firefox-0409b8aa646ea5192cd91976a89f71024129344c.tar.xz firefox-0409b8aa646ea5192cd91976a89f71024129344c.zip |
Adding upstream version 127.0.1.upstream/127.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/security/test')
-rw-r--r-- | dom/security/test/https-first/browser_httpsfirst.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dom/security/test/https-first/browser_httpsfirst.js b/dom/security/test/https-first/browser_httpsfirst.js index e0bba26f73..060d7d362c 100644 --- a/dom/security/test/https-first/browser_httpsfirst.js +++ b/dom/security/test/https-first/browser_httpsfirst.js @@ -90,8 +90,14 @@ add_task(async function () { "http://" ); + await runPrefTest( + "http://invalid.example.com", + "Should downgrade non-reachable site.", + "http://" + ); + info("Checking expected telemetry"); - is(Glean.httpsfirst.upgraded.testGetValue(), 5); + is(Glean.httpsfirst.upgraded.testGetValue(), 1); is(Glean.httpsfirst.upgradedSchemeless.testGetValue(), null); is(Glean.httpsfirst.downgraded.testGetValue(), 3); is(Glean.httpsfirst.downgradedSchemeless.testGetValue(), null); |