Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Issue 2759753002: Fetch manifest icon prior to checking eligibility in InstallableManager (Closed)

Created:
3 years, 9 months ago by F
Modified:
3 years, 8 months ago
Reviewers:
dominickn
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fetch manifest icon prior to checking eligibility in InstallableManager Previously primary icons are not fetched for web sites that do not pass the installability tests. As a result, web sites such as sensor-compass.appspot.com and superbowl.com, when added to home screen, have generated icons instead of primary icons provided in their Web manifests. This CL makes InstallableManager to fetch manifest icon prior to checking eligibility for PWA in InstallableManager. BUG=702233 Review-Url: https://codereview.chromium.org/2759753002 Cr-Commit-Position: refs/heads/master@{#463134} Committed: https://chromium.googlesource.com/chromium/src/+/f7338b32ab404c8dca728c4b8dabb8b660d5b4ec

Patch Set 1 : Add tests #

Total comments: 2

Patch Set 2 : Fetch manifest icon prior to checking eligibility in InstallableManager #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -32 lines) Patch
M chrome/browser/installable/installable_manager.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/installable/installable_manager_browsertest.cc View 1 22 chunks +28 lines, -30 lines 0 comments Download

Messages

Total messages: 31 (24 generated)
F
Hi Dominick, PTAL. Thanks!
3 years, 9 months ago (2017-03-22 22:32:00 UTC) #16
dominickn
Hmmm, right now we deliberately don't fetch the icon if we don't pass the installability ...
3 years, 9 months ago (2017-03-22 23:24:01 UTC) #17
dominickn
Can you clarify the description and subject to be: "Fetch manifest icon prior to checking ...
3 years, 8 months ago (2017-04-07 04:42:54 UTC) #18
F
Thanks Dominick! PTAL https://codereview.chromium.org/2759753002/diff/20001/chrome/browser/installable/installable_manager_browsertest.cc File chrome/browser/installable/installable_manager_browsertest.cc (left): https://codereview.chromium.org/2759753002/diff/20001/chrome/browser/installable/installable_manager_browsertest.cc#oldcode381 chrome/browser/installable/installable_manager_browsertest.cc:381: // START_URL_NOT_VALID since we won't have ...
3 years, 8 months ago (2017-04-07 15:43:39 UTC) #22
dominickn
lgtm, thanks
3 years, 8 months ago (2017-04-07 23:00:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2759753002/60001
3 years, 8 months ago (2017-04-08 15:07:53 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 15:11:59 UTC) #31
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f7338b32ab404c8dca728c4b8dab...

Powered by Google App Engine
This is Rietveld 408576698