New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 878586 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 29
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug
Flaky-Test: PolicyPrefsTest.PolicyToPrefsMapping



Sign in to add a comment

PolicyPrefsTest.PolicyToPrefsMapping is Flaky

Project Member Reported by Findit, Aug 28

Issue description

Components: UI>Browser>WebAppInstalls
Owner: ortuno@chromium.org
Status: Started (was: Available)
Is this fixed? Can this be moved out of the sheriff queue?
Labels: -Sheriff-Chromium
Not fixed yet. CL is pending review.
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 29

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

commit fd7ed286f620ab884105c5d6b94ce013edcdf43a
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Wed Aug 29 13:26:49 2018

desktop-pwas: Listen for the "profile destroyed" notification

Neither Shutdown() gets called on the WebAppProvider nor has the
WebAppProvider been destroyed by the time we DCHECK for leaked hosts. So
the WebAppProvider never has a chance to clean up before we check that
all hosts are gone.

To get around this, we clean up when the "NOTIFICATION_PROFILE_DESTROYED"
notification is sent, which happens right before the DCHECK.

Bug:  876176 ,  878586 
Change-Id: I6262ddcf8ca9594bfc333feb9c3cf4ccdc7f8b5e
Reviewed-on: https://chromium-review.googlesource.com/1195243
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587091}
[modify] https://crrev.com/fd7ed286f620ab884105c5d6b94ce013edcdf43a/chrome/browser/web_applications/extensions/pending_bookmark_app_manager_browsertest.cc
[modify] https://crrev.com/fd7ed286f620ab884105c5d6b94ce013edcdf43a/chrome/browser/web_applications/web_app_provider.cc
[modify] https://crrev.com/fd7ed286f620ab884105c5d6b94ce013edcdf43a/chrome/browser/web_applications/web_app_provider.h

Status: Fixed (was: Started)

Sign in to add a comment