favicon: makes FaviconHandler::FetchFavicon() early out
Specifically if the url is the same as the last page and the navigation is a same-document navigation, then FaviconHandler need not do anything. This scenario happens when using history.replaceState() and the like (which is used on the SRP). BUG=none TEST=covered by test Change-Id: Ida3aabeefb1cef033b68b667049fa724efe7b4f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335024Reviewed-by:Peter Kotwicz <pkotwicz@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#794559}
Showing
Please register or sign in to comment