Bug 1936575 - PART 2: Do not trigger default browser prompt until ToS is accepted...
[gecko.git] / security / manager / ssl / tests / mochitest / mixedcontent / test_unsecureCSS.html
blob5bf82e5985eb82b7a032a0f841e06b6695489b60
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Unsecure css 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 <link rel="stylesheet" type="text/css"
10 href="http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/somestyle.css" />
12 <script class="testbody" type="text/javascript">
13 "use strict";
15 hasMixedActiveContent = true;
17 async function runTest()
19 await isSecurityState("broken", "insecure <img> load breaks security");
20 finish();
23 async function afterNavigationTest()
25 await isSecurityState("broken", "security still broken after navigation");
26 finish();
29 </script>
30 </head>
32 <body>
33 </body>
34 </html>