Update NavigationController unit test to set origin on commit IPCs.

Origin for the committed navigation is expected for all commit IPCs and
some unit tests don't specify them. This CL adds origins to unit tests
for NavigationController and additionally fixes some tests to navigate
the correct RenderFrameHost.

Bug: 882053
Change-Id: I2c24f669c8b8db50d6b483989498a3d637d3b425
Reviewed-on: https://chromium-review.googlesource.com/c/1391317
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618967}
1 file changed