Do not commit navigation to an arbitrary request in TestRenderFrame

As a part of removing provisional document loader (see doc linked
from the bug, step 6.d), we plan to stop using WebURLLoader for
navigation requests. This means there will be no artificial
WebURLRequest created for the main resource, DocumentLoader::request_
and WebNavigationParams::request will be gone.

Passing arbitrary request to CommitNavigation will not work anyway,
since we are not faking network in these tests. In fact, we are only
using about:blank, about:srcdoc and data urls for subframes,
which we can explicitly handle.

Bug: 855189
Change-Id: Ia87d2584dc0fb8d6a6142dc15cc12492f29dfdfb
Reviewed-on: https://chromium-review.googlesource.com/c/1385473
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620623}
1 file changed