4 <title>document.write('
<img src=
"http://">')
</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 await isSecurityState(
"broken",
"insecure <img> written dynamically breaks security");
18 async function afterNavigationTest()
20 await isSecurityState(
"broken",
"security still broken after navigation");
28 <script class=
"testbody" type=
"text/javascript">
31 "<img src='http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg' />");