desktop-pwas: Add icon URL fallback for bookmark app sync installs
As part of https://chromium-review.googlesource.com/c/chromium/src/+/2134089 our sync install flow for bookmark apps was changed to fetch the app manifest from the start_url where previously we used sync data and only fetched icon URLs. The new flow is significantly more prone to install failure (due to network, site config, CPU load). In the event of failure the app won't be installed with any icons. This CL adds the legacy "only fetch icons" code path back in the event of failure to lessen the user impact of install failure. This CL only affects bookmark app sync install. BMO sync install will come via unifying the sync install process to use the same code. Bug: 1090227 Change-Id: I063b0d087ab482fe625a8f37850212e99b9d35bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2226006 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by:Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#776878}
Showing
Please register or sign in to comment