Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M115] Fix segmentation fault on ExternallyManagedAppManager
As written in https://crbug.com/1449075, ExternallyManagedAppManager has a compatibility issue with kServiceWorkerRegistrationCache feature. This CL fixes the "segmentation fault" on ExternallyManagedAppManager. <How can this CL avoid segmentation fault> This CL initializes current_registration_ field first, and call CheckHasServiceWorker() afterwards so that we can ensure that current_registration_ is not null. (cherry picked from commit 5d67e82) Bug: 1449075, 1446216 Change-Id: Id4026fa414d091f9d24725a474a93b59a0326142 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4567903 Commit-Queue: Minoru Chikamune <chikamune@chromium.org> Reviewed-by: Alan Cutter <alancutter@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1149554} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4570941 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Minoru Chikamune <chikamune@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Commit-Queue: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/branch-heads/5790@{#125} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
1 parent
2abab76
commit c231db4
Showing
5 changed files
with
13 additions
and
5 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