4 <title>Secure img load
</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(
"secure",
"javascript: <img> should not break security");
18 async function afterNavigationTest()
20 await isSecurityState(
"secure",
"Still secure after renavigation");
28 <img src=
"javascript:'Random data'" />