Refactors and expands referrer policy browsertests
This patchset contains two changes to the referrer policy browsertests: 1. Refactor the "reduced referrer granularity flag" tests to use a parameterized test---this will allow easy expansion to test additional capping logic, e.g. the "no referrers at all" flag, which is currently missing test coverage. (This will be remedied by a follow-on CL.) 2. Add tests for subresource requests (by registering a test server callback to inspect the `Referer` headers sent along with the requests). R=jochen Bug: 1004486 Change-Id: I9bc13fe536f04829e69ba0443c6d724ffb113750 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842005 Commit-Queue: David Van Cleve <davidvc@chromium.org> Reviewed-by:Dominic Farolino <dom@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#703444}
Showing
This diff is collapsed.
8.36 KB