DCHECK reachable in WebAppIconDownloader::DidDownloadFavicon |
|||
Issue descriptionChrome Version: HEAD OS: Windows What steps will reproduce the problem? (1) Build Chromium with DCHECKs enabled (2) Launch Chromium (3) Sign into a profile with lots of sync data What is the expected result? No crashes. What happens instead? Chromium hits this DCHECK in WebAppIconDownloader::DidDownloadFavicon(): DCHECK_LE(100, http_status_code); When the DCHECK is hit |http_status_code| is equal to 0.
,
Nov 4
Also, thanks for the report!
,
Nov 5
The DCHECKs are correct, they caught a bug.
,
Nov 26
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1058b14496da2a10ea36713bbef31ca7d1779242 commit 1058b14496da2a10ea36713bbef31ca7d1779242 Author: Alan Cutter <alancutter@chromium.org> Date: Mon Nov 26 07:26:42 2018 Fix bookmark icon download status logging to account for data: URLs This CL makes Extensions.BookmarkApp.Icon.HttpStatusCodeClassOnSync and Extensions.BookmarkApp.Icon.HttpStatusCodeClassOnCreate ignore data: URLs which have no HTTP status code. Bug: 901552 Change-Id: I5a7ec6f9300c0b91668e9994b769073a638aff5b Reviewed-on: https://chromium-review.googlesource.com/c/1317213 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#610777} [modify] https://crrev.com/1058b14496da2a10ea36713bbef31ca7d1779242/chrome/browser/web_applications/components/web_app_icon_downloader.cc [modify] https://crrev.com/1058b14496da2a10ea36713bbef31ca7d1779242/chrome/browser/web_applications/components/web_app_icon_downloader_unittest.cc [modify] https://crrev.com/1058b14496da2a10ea36713bbef31ca7d1779242/content/common/image_downloader/image_downloader.mojom [modify] https://crrev.com/1058b14496da2a10ea36713bbef31ca7d1779242/content/public/browser/web_contents.h
,
Nov 26
|
|||
►
Sign in to add a comment |
|||
Comment 1 by ortuno@chromium.org
, Nov 4Status: Assigned (was: Untriaged)