Bug 1938475 [Wayland] Fallback to monitor screen scale if we're missing wayland surfa...
[gecko.git] / security / manager / ssl / tests / mochitest / mixedcontent / test_dynUnsecurePicturePreload.html
blobcdca91dc7e315a09bdc067f0930a68a112fa9bc2
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>img.src changes to unsecure test</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 (new Image()).src =
13 "http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg";
15 async function runTest()
17 await isSecurityState("broken", "(new Image()).src='http://...' changed to broken");
18 finish();
21 async function afterNavigationTest()
23 await isSecurityState("broken", "security broken after navigation");
24 finish();
27 </script>
28 </head>
30 <body>
31 </body>
32 </html>