content: updates NavigationRequest::ShouldUpdateHistory()
This makes it so that ShouldUpdateHistory() returns false for same document navigations to the same url without a user gesture. A common use of this history.replaceState(), which we don't really want logged to history as it's not really what the user thinks of as a navigation. BUG=1103495 TEST=HistoryBrowserTest.ReplaceStateSamePageIsNotRecorded Change-Id: Iafc0c7b93298940eb76cd1ca93ba7ffe3b2d32df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2305236 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#790424}
Showing
Please register or sign in to comment