Verify correctness of WebState::GetTitle during session restore.

Cached title is returned during restoration and URL hostname is returned
right after restoration is complete, but before the page finishes load.

Bug: 877671
Change-Id: Ie7375a3c0c47a77417f1d10bb4bb0d48d6127da1
Reviewed-on: https://chromium-review.googlesource.com/c/1363968
Reviewed-by: Danyao Wang <danyao@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614407}
1 file changed