32 lines
758 B
HTML
32 lines
758 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Secure img load</title>
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="text/javascript" src="mixedContentTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
|
|
<script class="testbody" type="text/javascript">
|
|
"use strict";
|
|
|
|
loadAsInsecure = true;
|
|
|
|
async function runTest()
|
|
{
|
|
await isSecurityState("insecure", "left insecure");
|
|
finish();
|
|
}
|
|
|
|
async function afterNavigationTest()
|
|
{
|
|
await isSecurityState("insecure", "left insecure after renavigation");
|
|
finish();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<img src="https://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg" />
|
|
</body>
|
|
</html>
|