| Index: chrome/test/data/referrer_policy/referrer-policy-redirect.html
|
| diff --git a/chrome/test/data/referrer_policy/referrer-policy-redirect.html b/chrome/test/data/referrer_policy/referrer-policy-redirect.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c9ef9d0f21b3c4508cf2eccc7c0220f917378bd8
|
| --- /dev/null
|
| +++ b/chrome/test/data/referrer_policy/referrer-policy-redirect.html
|
| @@ -0,0 +1,16 @@
|
| +<html>
|
| +<head>
|
| +<meta name="referrer" content="origin" />
|
| +<script>
|
| +function runTest() {
|
| + var matches =
|
| + RegExp(/\?ssl_port=(.*)&port=(.*)/).exec(document.location.search);
|
| + document.location =
|
| + "https://127.0.0.1:" + matches[1] + "/server-redirect?" +
|
| + "http://127.0.0.1:" + matches[2] + "/files/referrer-policy-log.html";
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +</body>
|
| +</html>
|
|
|