Check if the page transition is forward/back before reload.
Some navigations are both forward/back and reload. As far as page_end_reason is concerned, these should be considered as history navigations. Most "true" reloads result in the user loading the same URL again (e.g. pull-to-refresh or preview opt-out button). By contrast, navigations that are both forward/back and reload navigations usually result in loading a different URL. Bug: 991741 Change-Id: Iac70ec0b62f6b9bd228419d127ae338ebb4ff5b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1743129Reviewed-by:Bryan McQuade <bmcquade@chromium.org> Commit-Queue: Simon Pelchat <spelchat@chromium.org> Cr-Commit-Position: refs/heads/master@{#686617}
Showing
Please register or sign in to comment