commit | 01a6365651e0b1e9896b251411a18a4ab5a4306d | [log] [tgz] |
---|---|---|
author | Min Qin <qinmin@chromium.org> | Thu Jul 12 00:57:49 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 12 00:57:49 2018 |
tree | f12e36142511c5f9386a41c5fb46930e06c5f437 | |
parent | a3aa0471bc5652b265991619cde6b1486018b6b6 [diff] |
Don't reset TabDownloadState on history back/forward Currently performing forward/backward on a tab will reset the TabDownloadState. Which allows javascript code to do trigger multiple downloads. This CL disables that behavior by not resetting the TabDownloadState on forward/back. It is still possible to reset the TabDownloadState through user gesture or using browser initiated download. BUG=848535 Change-Id: I7f9bf6e8fb759b4dcddf5ac0c214e8c6c9f48863 Reviewed-on: https://chromium-review.googlesource.com/1108959 Commit-Queue: Min Qin <qinmin@chromium.org> Reviewed-by: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#574437}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .