New issue
Advanced search Search tips

Issue 591150 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Refactor to use DidFinishNavigation

Project Member Reported by petewil@chromium.org, Mar 1 2016

Issue description

Per the discussion in https://codereview.chromium.org/1721103002/, we want to refactor to use DidFailNavigation instead of DidFailProvisionalLoad.

When we tried this before, the progress bar got refreshed twice.  Maybe it isn't a problem, but we should investigate.

We need to modify SimulateNavigationError() to generate DidFailNavigation.  There may be other test code infrastructure that needs to change as part of this to be able to test it.
 
Status: Assigned (was: Untriaged)
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489

commit 2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489
Author: petewil <petewil@chromium.org>
Date: Tue Mar 08 03:57:08 2016

One of the outstanding TODO items from our fix to redirect navigations to offline pages was to switch from the provisional load events to use the newer navigation events.

This change switches to the new events, and adds a working test.

BUG= 591150 

Review URL: https://codereview.chromium.org/1754333002

Cr-Commit-Position: refs/heads/master@{#379725}

[modify] https://crrev.com/2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489/chrome/browser/android/offline_pages/offline_page_tab_helper.cc
[modify] https://crrev.com/2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489/chrome/browser/android/offline_pages/offline_page_tab_helper.h
[modify] https://crrev.com/2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489/chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc

Status: Fixed (was: Started)

Comment 5 by k...@google.com, Mar 23 2016

Labels: Merge-Approved-50
Project Member

Comment 6 by bugdroid1@chromium.org, Mar 23 2016

Labels: -merge-approved-50 merge-merged-2661
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/00ff65bb8d9ece36057585c3a31439adbfd79d1f

commit 00ff65bb8d9ece36057585c3a31439adbfd79d1f
Author: Pete Williamson <petewil@chromium.org>
Date: Wed Mar 23 18:13:04 2016

One of the outstanding TODO items from our fix to redirect navigations to
offline pages was to switch from the provisional load events to use the
newer navigation events.

This change switches to the new events, and adds a working test.

BUG= 591150 

Review URL: https://codereview.chromium.org/1754333002

Cr-Commit-Position: refs/heads/master@{#379725}
(cherry picked from commit 2ec1dfed7c0e8e9d29ce1c0366321426a8c1b489)

Review URL: https://codereview.chromium.org/1829853002 .

Cr-Commit-Position: refs/branch-heads/2661@{#363}
Cr-Branched-From: ef6f6ae5e4c96622286b563658d5cd62a6cf1197-refs/heads/master@{#378081}

[modify] https://crrev.com/00ff65bb8d9ece36057585c3a31439adbfd79d1f/chrome/browser/android/offline_pages/offline_page_tab_helper.cc
[modify] https://crrev.com/00ff65bb8d9ece36057585c3a31439adbfd79d1f/chrome/browser/android/offline_pages/offline_page_tab_helper.h
[modify] https://crrev.com/00ff65bb8d9ece36057585c3a31439adbfd79d1f/chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc

Sign in to add a comment