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..ddbd47d27e2f93edf88afaf9ab27939edf846017 |
| --- /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 *"> |
|
Mike West
2014/10/06 10:03:59
This should probably be "manifest-src 'none'".
|
| +<link rel="manifest" href="manifest.test/manifest.json"> |
| +<script> |
| + if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + testRunner.waitUntilDone(); |
| + testRunner.getManifestThen(function() { |
| + alert("Pass"); |
| + testRunner.notifyDone(); |
| + }); |
| + } |
| +</script> |