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">
12 async function runTest()
14 SpecialPowers.pushPrefEnv(
15 {
"set": [[
"security.mixed_content.upgrade_display_content", false]]},
17 await isSecurityState(
"broken",
"broken");
21 async function afterNavigationTest()
23 await isSecurityState(
"broken",
"broken after navigation");
31 <img src=
"https://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/redirecttoemptyimage.sjs" />