New issue
Advanced search Search tips

Issue 870925 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Offline Pages deleted by the store maintenance tasks do not emit observer notifications

Project Member Reported by carlosk@chromium.org, Aug 3

Issue description

When pages are deleted by delete-methods from the OfflinePageModel, registered observers are notified about that happening when OfflinePageModelTaskified::OnDeleteDone is called.

But when they are deleted by the tasks created from OfflinePageModelTaskified::RunMaintenanceTasks, no such notifications are emitted. This bug might cause OPM observers to not be informed about actual deletions and present outdated information about existing Offline Pages.

This would cause problems in two situations:
* When launching Chrome and one of these take place for the first time: all pages are queried for (i.e. when opening the Downloads Home) or an offline page is saved (i.e. last_n is triggered when the user switches tabs).
* And then for long running sessions, when either of those happen again after 30 min (the enforced delay between maintenance task runs).

 
Labels: Hotlist-Fixit
Owner: carl...@google.com
Status: Assigned (was: Untriaged)

Sign in to add a comment