Chromium Code Reviews| Index: LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-blocked.html |
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-blocked.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..20b664fe89dfe44fc44fc4edb41fcec859d6d0e9 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-blocked.html |
| @@ -0,0 +1,12 @@ |
| +<meta http-equiv="Content-Security-Policy" content="manifest-src 'self'"> |
| +<link rel="manifest" href="http://www.evil.com/manifest.json"> |
|
Mike West
2014/09/29 11:00:46
Please add a test which verifies that a manifest w
|
| +<script> |
| + if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + testRunner.waitUntilDone(); |
| + testRunner.getManifestThen(function() { |
| + alert("Pass"); |
| + testRunner.notifyDone(); |
| + }); |
| + } |
| +</script> |