| Index: third_party/WebKit/LayoutTests/http/tests/security/resources/post-referrer-on-reload.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/post-referrer-on-reload.html b/third_party/WebKit/LayoutTests/http/tests/security/resources/post-referrer-on-reload.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1af4f44743e8ac630d0917fcfc063e4b1e0dbf4c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/post-referrer-on-reload.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<head>
|
| + <meta name="referrer" content="no-referrer">
|
| + <script>
|
| + if (localStorage["reloaded"]) {
|
| + window.parent.postMessage({ referrer: document.referrer }, "*");
|
| + } else {
|
| + localStorage["reloaded"] = true;
|
| + location.reload();
|
| + }
|
| + </script>
|
| +</head>
|
| +<body></body>
|
| +</html>
|
|
|