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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html

Issue 563473002: CSP: Move parsing a document's CSP to DocumentLoader::responseReceived. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 3 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/1.1/frame-ancestors/frame-ancestors-url-block.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html
index 39fc9cca7849f8974f987a02912f316b51caa983..7b5e1ad8f6b08a42274eb44e1dfaca9c243d103e 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html
@@ -6,9 +6,9 @@
</head>
<body>
<script>
- description("A 'frame-ancestors' CSP directive with a URL matching this origin should allow rendering.");
+ description("A 'frame-ancestors' CSP directive with a URL which doesn't match this origin should be blocked.");
- crossOriginFrameShouldBeBlocked(window.location.origin);
+ crossOriginFrameShouldBeBlocked("http://example.com/");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698