Use install_url instead of start_url for web app service worker registration install pass
This CL updates the background web app install process to use the install_url instead of the start_url for registering the site's service worker. This is to avoid loading the start_url during start up (potentially very resource intensive). Note that this may cause policy installed web apps to fail to preinstall the service worker if they happen to be using an install URL that doesn't register a service worker (unlikely). This regression is very mild though as the SW will just register when the user visits the site. Default installed web apps (Canvas) already serve the service worker from their install URL. Bug: 1123435 Change-Id: I96349dddb43001ff54082b3f830d11b066378c76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389483 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by:Glen Robertson <glenrob@chromium.org> Auto-Submit: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#803798}
Showing
Please register or sign in to comment