commit | 7e3f29a34181f6413b5495c023c7593231672095 | [log] [tgz] |
---|---|---|
author | Danyao Wang <danyao@google.com> | Fri May 18 16:31:19 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 18 16:31:19 2018 |
tree | a15627a766ace66ba9b1df88f0c4a488447cc7dd | |
parent | a7f1ee90249c022de2b5d441bb1e1a3f8c0ecdd7 [diff] |
[Nav Experiment] No need to handle cancelled error. |handleCancelledError| currently reloads the last committed item if the current provisional navigation is cancelled. This is not needed with WKBasedNavigation because WKWebView will take care of restoring the last committed state. This explicit load is the cause of disappearing forward-history when user taps on "back" in rapid succession. Each tap starts a new navigation that is immediately cancelled by the subsequent navigation. At the end of the chain, when the last committed item is loaded (NTP), it causes forward history to be lost. Bug: 841747 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I612a403ac1a7fbe40ea00196aafa2492a3345ce0 Reviewed-on: https://chromium-review.googlesource.com/1065052 Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#559917}
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 .