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

Unified Diff: chrome/test/data/prerender/prefetch_response_csp.html

Issue 2350813003: NoState Prefetch: CSP test (Closed)
Patch Set: filled in bug Created 4 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: chrome/test/data/prerender/prefetch_response_csp.html
diff --git a/chrome/test/data/prerender/prefetch_response_csp.html b/chrome/test/data/prerender/prefetch_response_csp.html
new file mode 100644
index 0000000000000000000000000000000000000000..6518c8d32a0a4048cacb5de57e7f2d8a40bb89bd
--- /dev/null
+++ b/chrome/test/data/prerender/prefetch_response_csp.html
@@ -0,0 +1,12 @@
+<html>
+<!--
+Check that we follow response header CSP restrictions when prefetching.
+Only prefetch2.js should be fetched.
+-->
+<head>
+<script src="prerender/prefetch.js"></script>
+<script src="http://foo.bar/prerender/prefetch2.js"></script>
+</head>
+<body>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698