| Index: LayoutTests/http/tests/security/contentSecurityPolicy/script-src-self-in-srcdoc-sandbox.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-self-in-srcdoc-sandbox.html b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-self-in-srcdoc-sandbox.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d2f282fe2566c9e9dee4469248368e98eeb75914
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-self-in-srcdoc-sandbox.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' 'self'">
|
| + <script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpChildFramesAsText();
|
| + }
|
| + </script>
|
| +</head>
|
| +<body>
|
| + <iframe sandbox="allow-scripts" srcdoc="
|
| + <div id='result' text='PASS'>FAIL</div>
|
| + <script src='http://127.0.0.1:8000/security/contentSecurityPolicy/resources/script.js'></script>
|
| + "></iframe>
|
| +</body>
|
| +</html>
|
| +
|
|
|