Add browser-initiated navigation referrer policy tests
This CL adds navigation browsertests ensuring that NavigationController::LoadURLParams::referrer's referrer policy is honored. This is a regression test that fails with my referrer policy CL that we reverted (crrev.com/c/1806618) due to incorrectly cancelled requests. The tests in this CL ensures that browser-initiated navigations have the correct referrer set for all referrer policies. Bug: 1004083 Change-Id: Ifbca8d2847de53a63494a58f8fb73d323e9bdb0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809128 Commit-Queue: Dominic Farolino <dom@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#698104}
Showing
Please register or sign in to comment