Test inline script testJam
authortanvi@mozilla.com
Wed, 02 May 2012 16:18:43 -0700
branchtestJam
changeset 28 e6b16bbadc90
parent 27 76abe66357dc
child 30 c781ed9506ae
Test inline script
tests/csp/submitted/mozilla/csp-inline-script.php
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/csp/submitted/mozilla/csp-inline-script.php	Wed May 02 16:18:43 2012 -0700
@@ -0,0 +1,14 @@
+<?php
+header("X-WebKit-CSP: script-src 'self'");
+header("X-Content-Seucurity-Policy: script-src 'self'");
+header("Content-Seucurity-Policy: script-src 'self'");
+?>
+
+<html>
+<head>
+<title> No line script </title>
+</head>
+
+<body>
+<script>alert(foo);</script>
+</body>