forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unified_consent] Fix ConsentThrottle crash from mutate during iterate
We have evidence that this crash is caused by enqueuing new requests within the callback itself. This CL makes the throttle robust to callbacks that enqueue new requests, and adds a unit test for that case. Bug: 1483454 Change-Id: I452370ea0a90b2586c67c161220dc36f40aaede8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5030755 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/main@{#1225601}
- Loading branch information
Tommy C. Li
authored and
Chromium LUCI CQ
committed
Nov 16, 2023
1 parent
56f4450
commit 9288e5a
Showing
3 changed files
with
48 additions
and
9 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