-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iwa: Wait for ongoing updates to complete before serving requests
If an update is in the process of being applied, pause all requests to the IWA until the update is applied. There are two cases where this is relevant: - Normally, we wait for all windows of an IWA to close, and only then kick-off the update apply process. However, if the user were to re-open an IWA window during the update apply process, we need to delay loading of the window contents until after the update has finished applying. - On startup, if updates from the previous browser session are still pending (possibly because the user never closed the windows of the IWA), then we queue the pending updates to be applied. However, if either the user or the browser opens an IWA window while we apply updates, we need to wait for that to finish, similar to the case above. currently disabled due to crbug.com/1479463. Low-Coverage-Reason: There is a test for Ash, but the Lacros test is Bug: 1444407 Change-Id: I0fdf9579e72735b42dd3923ed6bfd03888b55488 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4831295 Reviewed-by: Robbie McElrath <rmcelrath@chromium.org> Commit-Queue: Christian Flach <cmfcmf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1194079}
- Loading branch information
Showing
7 changed files
with
289 additions
and
39 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
Oops, something went wrong.