2012-12-17 14:17:39 +00:00
|
|
|
<?php
|
2015-07-30 13:34:34 +00:00
|
|
|
# This test page checks CSP only for browsers with "Content-Security-Policy" header support
|
2013-10-30 12:20:38 +00:00
|
|
|
# i.e. no old WebKit or old Firefox
|
|
|
|
header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
|
2012-12-17 14:17:39 +00:00
|
|
|
?>
|
2011-01-18 20:13:09 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2012-05-18 17:28:50 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2011-01-18 20:13:09 +00:00
|
|
|
<title>CSP Test Page</title>
|
2013-01-28 04:34:38 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2016-04-10 19:42:44 +00:00
|
|
|
<script src="../iframeTest.js"></script>
|
2013-01-28 04:34:38 +00:00
|
|
|
<script src="csp.js"></script>
|
2013-08-26 22:54:13 +00:00
|
|
|
<script src="getComputedSupport.js"></script>
|
2011-01-18 20:13:09 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>CSP Test Page</p>
|
|
|
|
</body>
|
|
|
|
</html>
|