| Index: chrome/test/data/save_page/b_with_referrer_policy_origin.htm
|
| diff --git a/chrome/test/data/save_page/b_with_referrer_policy_origin.htm b/chrome/test/data/save_page/b_with_referrer_policy_origin.htm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7d72f137e1a4130884427b5240d469830975d025
|
| --- /dev/null
|
| +++ b/chrome/test/data/save_page/b_with_referrer_policy_origin.htm
|
| @@ -0,0 +1,32 @@
|
| +<html>
|
| + <head>
|
| + <title>
|
| + Test page for saving page with referrer policy
|
| + </title>
|
| + <!-- Note that the referrer policy below was chosen so that it
|
| + will cause URLRequestJob::ComputeReferrerForRedirect to return
|
| + *modified* referrer for url request associated with img.src below.
|
| + -->
|
| + <meta name="referrer" content="origin-when-crossorigin">
|
| + <link type="text/css" href="1.css" rel="stylesheet">
|
| + </head>
|
| + <body>
|
| + Content verification marker: 3a35f7fa-96a9-4487-9f18-4470263907fa
|
| +
|
| + The picture below is the back button.<br>
|
| +
|
| + <!-- The URI below won't be handled by the embedded_test_server,
|
| + because it is missing the port. OTOH, we need to go cross-site
|
| + *immediately* / without redirect (because the redirect will kick-off a
|
| + correct recalculation of the referrer uri and this will mean that we
|
| + won't repro crbug.com/550289). Because of this we cannot use the
|
| + typical cross-site redirection via /cross-site/bar.com/... uri.
|
| +
|
| + Also note that (because of setting up custom host resolution in
|
| + SavePageSitePerProcessBrowserTest::SetUpOnMainThread) accessing the
|
| + site below will be redirected to 127.0.0.1 (so we aren't really
|
| + hitting a random internet server via this test file).
|
| + -->
|
| + <img src="http://no-such-cross-site.com/save_page/1.png"> </img>
|
| + </body>
|
| +</html>
|
|
|