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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt

Issue 2002943002: CSP violation reports should report the pre-redirect URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt
index c048435140ef0f100f1167ef623466e391d17d96..e20af375c861884e7351e39012e57f556c1e3394 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 24: Refused to set the document's base URI to 'http://example.com/' because it violates the following Content Security Policy directive: "base-uri 'self'".
+CONSOLE ERROR: line 24: Refused to set the document's base URI to 'http://example.com/base' because it violates the following Content Security Policy directive: "base-uri 'self'".
Check that base URIs cannot be set if they violate the page's policy.
@@ -9,7 +9,7 @@ Kicking off the tests:
PASS document.baseURI is document.location.href
PASS window.e.documentURI is "http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/base-uri-deny.html"
PASS window.e.referrer is ""
-PASS window.e.blockedURI is "http://example.com"
+PASS window.e.blockedURI is "http://example.com/base"
PASS window.e.violatedDirective is "base-uri 'self'"
PASS window.e.effectiveDirective is "base-uri"
PASS window.e.originalPolicy is "base-uri 'self'"

Powered by Google App Engine
This is Rietveld 408576698