| Index: LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e99c714f1c0ae276844cf124ea4dd0e54e2708f6
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'">
|
| +</head>
|
| +<body>
|
| + <div id="result" text="FAIL">PASS</div>
|
| +
|
| + <script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| + a=document.createElement('script');
|
| + a.src='http://localhost:8000/security/contentSecurityPolicy/resources/script.js';
|
| + document.body.appendChild(a);
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|