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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html
index 0ec855cf80f9d89fade7a64ec1fe4aeda8ade0a7..43dc620b60a3eca9ad23ecbc1d84b437df21f783 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html
@@ -10,7 +10,7 @@
var expectations = {
'documentURI': document.location.toString(),
'referrer': document.referrer,
- 'blockedURI': 'http://example.com',
+ 'blockedURI': 'http://example.com/base',
'violatedDirective': 'base-uri \'self\'',
'effectiveDirective': 'base-uri',
'originalPolicy': 'base-uri \'self\'',
@@ -20,7 +20,7 @@
function run() {
var base = document.createElement('base');
- base.href = 'http://example.com/';
+ base.href = 'http://example.com/base';
document.head.appendChild(base);
shouldBe('document.baseURI', 'document.location.href');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698