Bug 1938475 [Wayland] Fallback to monitor screen scale if we're missing wayland surfa...
[gecko.git] / security / manager / ssl / tests / mochitest / mixedcontent / test_bug455367.html
blob6dbf89d048a408db9dd9136c1ff4697be899d9f3
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>No content image doesn't break security</title>
5 <script src="/tests/SimpleTest/SimpleTest.js"></script>
6 <script type="text/javascript" src="mixedContentTest.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
9 <script class="testbody" type="text/javascript">
10 "use strict";
12 async function runTest()
14 SpecialPowers.pushPrefEnv(
15 {"set": [["security.mixed_content.upgrade_display_content", false]]},
16 null);
17 await isSecurityState("broken", "broken");
18 finish();
21 async function afterNavigationTest()
23 await isSecurityState("broken", "broken after navigation");
24 finish();
27 </script>
28 </head>
30 <body>
31 <img src="https://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/redirecttoemptyimage.sjs" />
32 </body>
33 </html>