blob: fdc1ae87ac6d12c4f021be4f09529a3ab7d6ee91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<title>Bug 1122236 - CSP: Implement block-all-mixed-content</title>
</head>
<body>
<b>user clicks and navigates from https://b.com to http://c.com</b>
<a id="navlink" href="http://example.com/tests/dom/security/test/csp/file_block_all_mixed_content_frame_navigation2.html">foo</a>
<script class="testbody" type="text/javascript">
// click the link to start the frame navigation
document.getElementById("navlink").click();
</script>
</body>
</html>
|