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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/image-full-host-wildcard-fails-expected.txt

Issue 1362813002: CSP source *.x.y should not match host x.y (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test fixes Created 5 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/image-full-host-wildcard-fails-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/image-full-host-wildcard-fails-expected.txt
similarity index 63%
copy from LayoutTests/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt
copy to LayoutTests/http/tests/security/contentSecurityPolicy/image-full-host-wildcard-fails-expected.txt
index 9874f45a065f8820de79a14ed0481f66635cbe2a..b15522adb33172896f739e55e367e46ad65865a6 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/image-full-host-wildcard-fails-expected.txt
@@ -1,3 +1,4 @@
-CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src *.127.0.0.1:8000".
+
+ALERT: PASS
-Here is an image:

Powered by Google App Engine
This is Rietveld 408576698