forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use install_url instead of start_url for web app service worker regis…
…tration 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 <[email protected]> Reviewed-by: Glen Robertson <[email protected]> Auto-Submit: Alan Cutter <[email protected]> Cr-Commit-Position: refs/heads/master@{#803798}
- Loading branch information
1 parent
ebf91dd
commit 096084e
Showing
10 changed files
with
112 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.