history: makes FROM_API_3 carry through to redirect chain end
When history adds a page with redirects the transition qualifier is not applied to redirects. This resulted in FROM_API_3 being dropped, and pages that should be hidden being shown. This patch adds FROM_API_3 to CHAIN_END if FROM_API_3 was present in the requested transition. It's only necessary to add for CHAIN_END, as CHAIN_END must be present in order for the visit to be considered visible. BUG=1145208 TEST=HistoryBackendTest.AddPageWithRedirectsAndFromApi3IsNotVisible Change-Id: I4ac41e5385fe58b249532f1251612b6c1112005b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521833 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#824582}
Showing
Please register or sign in to comment