-
Olivier Robin authored
On the current implementation, on a navigation error, the error_retry_state_machine expect a second navigation after any error to load the error page. When displaying an offline page, this second navigation displayes a native content and DidFinishNavigation is never called, so the navigation is not cleaned. On reload, this causes a DCHECK and a navigation failure. This CL report a success on native navigation. Note: While this fix gives the expected result, there is still a bug in the error_retry_state_maching as the state will be put in kDisplayingWebErrorForFailedNavigation instead of success state. Fixing this behavior is not in the scope of this CL and can be fixed in the future by ErrorRetryStateMachine owners. Bug: 904784 Change-Id: Ic4efe212f933e8631f1b97dbf1a5633dd8a8cc54 Reviewed-on: https://chromium-review.googlesource.com/c/1335932 Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Reviewed-by:
Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#608412}
4025a873