Bug 1938475 [Wayland] Fallback to monitor screen scale if we're missing wayland surfa...
[gecko.git] / security / manager / ssl / tests / mochitest / mixedcontent / test_unsecurePicture.html
blob642d82e19fb14a15ffb5a84176d2913f7cf74fd4
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Unsecure 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">
10 "use strict";
12 async function runTest()
14 await isSecurityState("broken", "insecure <img> load breaks security");
15 finish();
18 async function afterNavigationTest()
20 await isSecurityState("broken", "security still broken after navigation");
21 finish();
24 </script>
25 </head>
27 <body>
28 <img src="http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg" />
29 </body>
30 </html>