Fix HeadlessWebContentsTest.BrowserOpenInTab.

As of https://crrev.com/617708 the expectation is that all renderer
initiated navigations must specify the origin of the document that
started the navigation.

This CL adds support for initiator origin in headless code.

Bug: 882053
Change-Id: I67dfff88932174f8098f4349412c37fac6e54381
Reviewed-on: https://chromium-review.googlesource.com/c/1395064
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619831}
1 file changed