forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conversion of Enter-in-omnibox to reload
This CL fixes an issue where new navigations are wrongly considered a reload. Prior to this CL, a browser-initiated navigation would be converted to a reload if it matches the URL of the last attempted navigation. However, we should only compare to the URL of the last committed navigation, otherwise we will not create a new NavigationEntry when the navigation commits but will instead modify the last committed NavigationEntry. This is an issue since we did the comparison with the last pending NavigationEntry, not the last committed one, so it is quite likely that their URLs don't match. BUG=809040 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I86a3c2f9b933bc6eadd89a3e694e01b985ac4e91 Reviewed-on: https://chromium-review.googlesource.com/824663 Commit-Queue: Camille Lamy <clamy@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#534723}
- Loading branch information
clamy
authored and
Commit Bot
committed
Feb 6, 2018
1 parent
fc56dda
commit 0a656e4
Showing
4 changed files
with
85 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters