OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title> |
| 4 Test page for saving page with referrer policy |
| 5 </title> |
| 6 <!-- Note that the referrer policy below was chosen so that it |
| 7 will cause URLRequestJob::ComputeReferrerForRedirect to return |
| 8 *modified* referrer for url request associated with img.src below. |
| 9 --> |
| 10 <meta name="referrer" content="origin-when-crossorigin"> |
| 11 <link type="text/css" href="1.css" rel="stylesheet"> |
| 12 </head> |
| 13 <body> |
| 14 Content verification marker: 3a35f7fa-96a9-4487-9f18-4470263907fa |
| 15 |
| 16 The picture below is the back button.<br> |
| 17 |
| 18 <!-- The URI below won't be handled by the embedded_test_server, |
| 19 because it is missing the port. OTOH, we need to go cross-site |
| 20 *immediately* / without redirect (because the redirect will kick-off a |
| 21 correct recalculation of the referrer uri and this will mean that we |
| 22 won't repro crbug.com/550289). Because of this we cannot use the |
| 23 typical cross-site redirection via /cross-site/bar.com/... uri. |
| 24 |
| 25 Also note that (because of setting up custom host resolution in |
| 26 SavePageSitePerProcessBrowserTest::SetUpOnMainThread) accessing the |
| 27 site below will be redirected to 127.0.0.1 (so we aren't really |
| 28 hitting a random internet server via this test file). |
| 29 --> |
| 30 <img src="http://no-such-cross-site.com/save_page/1.png"> </img> |
| 31 </body> |
| 32 </html> |
OLD | NEW |