-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Introduce kServiceWorkerScopeCache feature"
This reverts commit 821732c. Reason for revert: https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/111151/test-results?sortby=&groupby= Original change's description: > Introduce kServiceWorkerScopeCache feature > > Before this CL, there was the following problem. > > When a service worker is registered in https://a.com/scope, the origin > of this URL (https://a.com/ in this case) is used for StorageKey. This > means that, even when the user navigates to https://a.com/ (which is > out-of-scope of https://a.com/scope service worker), StorageKey becomes > the same as https://a.com/scope, and FindRegistrationForClientUrl mojo > needs to be called. FindRegistrationForClientUrl delays navigation, > hence we want to avoid calling it when possible. > > This CL introduces kServiceWorkerScopeCache feature which creates a > ServiceWorker's scope URL cache on the UI thread. By using this cache, > we can avoid calling the FindRegistrationForClientUrl mojo function when > it's not needed. > > [doc (google internal)] https://docs.google.com/document/d/1746-NLoUY5Pr3oimcVC_frNqOgkF3jOsdBsDSQlE-RA > > Bug: 1411197 > Bug: 1375174 > Change-Id: I113036c11d2c29b902577220243001b818bc940f > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4173488 > Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org> > Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> > Reviewed-by: Shunya Shishido <sisidovski@chromium.org> > Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> > Commit-Queue: Minoru Chikamune <chikamune@chromium.org> > Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1100878} Bug: 1411197 Bug: 1375174 Change-Id: Ibee2b5645239e946664d38642ccf686912f219a7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4221235 Auto-Submit: Andreea Costinas <acostinas@google.com> Owners-Override: Andreea Costinas <acostinas@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Andreea Costinas <acostinas@google.com> Commit-Queue: Andreea Costinas <acostinas@google.com> Cr-Commit-Position: refs/heads/main@{#1100932}
- Loading branch information
Andreea Costinas
authored and
Chromium LUCI CQ
committed
Feb 3, 2023
1 parent
e58c21d
commit 84f727d
Showing
10 changed files
with
31 additions
and
453 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
Oops, something went wrong.