Ref #13316: Sync all test documents on full vs. minified source.

This commit is contained in:
Richard Gibson
2013-02-08 00:20:33 -05:00
parent a8518c3bc4
commit 67a2e4eaac
33 changed files with 76 additions and 175 deletions

View File

@@ -17,7 +17,7 @@
</head>
<body>
<div>
<script src="../../../dist/jquery.min.js"></script>
<script src="../../jquery.js"></script>
</div>
<script>
jQuery(function() {

3
test/data/support/csp.js Normal file
View File

@@ -0,0 +1,3 @@
jQuery(function() {
parent.iframeCallback( jQuery.support );
});

22
test/data/support/csp.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
# Support: Firefox
header("X-Content-Security-Policy: default-src 'self';");
# Support: Webkit, Safari 5
# http://stackoverflow.com/questions/13663302/why-does-my-content-security-policy-work-everywhere-but-safari
header("X-WebKit-CSP: script-src " . $_SERVER["HTTP_HOST"] . " 'self'");
header("Content-Security-Policy: default-src 'self'");
?>
<!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="csp.js"></script>
</head>
<body>
<p>CSP Test Page</p>
</body>
</html>

View File

@@ -12,7 +12,7 @@
</head>
<body>
<div>
<script src="../../../dist/jquery.min.js"></script>
<script src="../../jquery.js"></script>
</div>
<script>
jQuery(function() {

View File

@@ -7,7 +7,7 @@
background: url('../1x1.jpg');
}
</style>
<script src="../../../dist/jquery.min.js"></script>
<script src="../../jquery.js"></script>
</head>
<body>
<script>