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

Unified Diff: chrome/test/data/referrer_policy/referrer-policy-start.html

Issue 438283002: Sanitize referrer in context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test for Save Image As Created 6 years, 4 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/referrer_policy/referrer-policy-start.html
diff --git a/chrome/test/data/referrer_policy/referrer-policy-start.html b/chrome/test/data/referrer_policy/referrer-policy-start.html
index 7cdc0502abc21c80ea05fa8f800858dee22cdcbe..5f5c457b69c4ba18b8a9ca9c96d4ddad692460af 100644
--- a/chrome/test/data/referrer_policy/referrer-policy-start.html
+++ b/chrome/test/data/referrer_policy/referrer-policy-start.html
@@ -27,15 +27,17 @@ function run() {
if (matches[kRedirect] == "false") {
destination = "http://127.0.0.1:" + matches[kPort] +
- "/files/referrer-policy-log.html";
+ "/files/referrer-policy-log.html";
} else if (matches[kRedirect] == "http") {
destination = "http://127.0.0.1:" + matches[kPort] +
- "/server-redirect?http://127.0.0.1:" + matches[kPort] +
- "/files/referrer-policy-log.html";
+ "/server-redirect?http://127.0.0.1:" + matches[kPort] +
+ "/files/referrer-policy-log.html";
+ } else if (matches[kRedirect] == "echoheader") {
+ destination = "http://127.0.0.1:" + matches[kPort] + "/echoheader?Referer";
} else {
destination = "https://127.0.0.1:" + matches[kSslPort] +
- "/server-redirect?http://127.0.0.1:" + matches[kPort] +
- "/files/referrer-policy-log.html";
+ "/server-redirect?http://127.0.0.1:" + matches[kPort] +
+ "/files/referrer-policy-log.html";
}
if (matches[kLink] == "true") {

Powered by Google App Engine
This is Rietveld 408576698