| 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 5f5c457b69c4ba18b8a9ca9c96d4ddad692460af..53ae568446087f6c079aa1c9375008b9ab999f8f 100644
|
| --- a/chrome/test/data/referrer_policy/referrer-policy-start.html
|
| +++ b/chrome/test/data/referrer_policy/referrer-policy-start.html
|
| @@ -18,23 +18,27 @@ function run() {
|
| return;
|
| }
|
|
|
| - var meta = document.createElement("meta");
|
| - meta.name = "referrer";
|
| - meta.content = matches[kPolicy];
|
| - document.head.appendChild(meta);
|
| + if (matches[kPolicy] != "no-meta") {
|
| + var meta = document.createElement("meta");
|
| + meta.name = "referrer";
|
| + meta.content = matches[kPolicy];
|
| + document.head.appendChild(meta);
|
| + }
|
|
|
| var destination;
|
|
|
| - if (matches[kRedirect] == "false") {
|
| + if (matches[kRedirect] == "none") {
|
| destination = "http://127.0.0.1:" + matches[kPort] +
|
| "/files/referrer-policy-log.html";
|
| - } else if (matches[kRedirect] == "http") {
|
| + } else if (matches[kRedirect] == "http2http") {
|
| destination = "http://127.0.0.1:" + matches[kPort] +
|
| "/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 {
|
| + } else if (matches[kRedirect] == "http2https") {
|
| + destination = "http://127.0.0.1:" + matches[kPort] +
|
| + "/server-redirect?https://127.0.0.1:" + matches[kSslPort] +
|
| + "/files/referrer-policy-log.html";
|
| + } else if (matches[kRedirect] == "https2http") {
|
| destination = "https://127.0.0.1:" + matches[kSslPort] +
|
| "/server-redirect?http://127.0.0.1:" + matches[kPort] +
|
| "/files/referrer-policy-log.html";
|
|
|