Layout tests for presence of Origin header in cross-site form target requests.
This CL primarily adds dumping of HTTP response headers to
navigation/resources/form-target.pl and adds appropriate
expectations to layout tests that depend on this URI.
This CL also makes a few extra minor tweaks:
- Using http instead of https scheme in
navigation/form-targets-cross-site-frame-get.html
and navigation/form-targets-cross-site-frame-post.html
(this makes it easier to use these URIs in manual repro
attempts made with a regular browser)
- Adding a test expectation to FlagExpectations/site-per-process
to account for bug 635400
- Changing the initial URI of the cross-site frame that is the
target of the form in
navigation/form-targets-cross-site-frame-get.html
and navigation/form-targets-cross-site-frame-post.html
I think the test is easier to understand when the initial URI
and form's target URI are different.
BUG=
635400
Committed:
https://crrev.com/82fbd88a31485e5bca1c0938724ed71026ad3f8d
Cr-Commit-Position: refs/heads/master@{#411044}