mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
e5ffcb0838
Ref gh-3040 Closes gh-3049
20 lines
565 B
PHP
20 lines
565 B
PHP
<?php
|
|
# This test page checks CSP only for browsers with "Content-Security-Policy" header support
|
|
# i.e. no old WebKit or old Firefox
|
|
header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>CSP Test Page</title>
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
<script src="csp.js"></script>
|
|
<script src="getComputedSupport.js"></script>
|
|
</head>
|
|
<body>
|
|
<p>CSP Test Page</p>
|
|
</body>
|
|
</html>
|