Don't pushState when setting the search page to itself.
Calling pushState when the search page is shown causes history entries after the current one to be lost. This mimics the pre-r271538 behavior where it set location.hash. Setting location.hash is a no-op (rather than pushing a duplicate history entry) if the hash has not changed. BUG=401004 Review URL: https://codereview.chromium.org/446093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287892 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment