Navigation: Check on navigation success in NavigateToURLFromRenderer().

This change is to explicitly check that the navigation did not result in
an error page.

Bug: 859582
Change-Id: I6385ff1ce58c8441be4e3447b3291d333c70bfaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1581686
Reviewed-by: Arthur Hemery <ahemery@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Commit-Queue: Mohamed Abdelhalim <zetamoo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653990}
3 files changed