Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-allowed.html

Issue 570563003: Implement CSP check for manifest fetching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed nit from mkwst Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-allowed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-allowed.html
new file mode 100644
index 0000000000000000000000000000000000000000..ddbd47d27e2f93edf88afaf9ab27939edf846017
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/manifest-src-allowed.html
@@ -0,0 +1,12 @@
+<meta http-equiv="Content-Security-Policy" content="manifest-src *">
+<link rel="manifest" href="manifest.test/manifest.json">
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ testRunner.getManifestThen(function() {
+ alert("Pass");
+ testRunner.notifyDone();
+ });
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698