Add temporary instrumentation into NavigationRequest::BeginNavigation().

This checks AT RUNTIME that no NavigationURLLoader is associated with
the NavigationRequest when BeginNavigation is called.

In particular, the path RestartNavigationAsCrossDocument looks
suspicious to me.

This is temporary, it will be removed when the bug will be closed.

Bug: 936962
Change-Id: I9acb1bc3b22de2aa4a9f7465ae82d9d28134e51c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1528234
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#641685}
1 file changed