Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a CriteriaHelper to ensure to allow content settings time to be…
… set Based on logs added in previous CL it appears that there is an async step in between the setting being set and it being persisted. This becomes apparent when seeing that the value being retrieved is "BLOCK" even though we just set it to "ALLOW" previously. Log sample: ``` 08-03 18:53:15.541 26119 26119 I cr_GeolocationHeader: [crbug/1338183] uri: https://www.google.com/search?q=potatoes 08-03 18:53:15.541 26119 26119 I cr_GeolocationHeader: [crbug/1338183] profile.OTR: false 08-03 18:53:15.541 26119 26119 I cr_GeolocationHeader: [crbug/1338183] getBrowserProfileTypeFromProfile: 0 08-03 18:53:15.541 26119 26119 I cr_GeolocationHeader: [crbug/1338183] profile.getNativeBrowserContextPointer: 1494027648 08-03 18:53:15.542 26119 26119 I cr_GeolocationHeader: [crbug/1338183] isDSEOrigin: true 08-03 18:53:15.570 26119 26119 I cr_GeolocationHeader: [crbug/1338183] settingValue: 2 08-03 18:53:15.570 26119 26119 I cr_GeolocationHeader: [crbug/1338183] Site permission is missing ``` Bug: 1338183, 1333038, 1344427, 1344431, 1342630 Change-Id: I90eac50aba1fab50d6bb93ec6e4a90439d8dfd7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3810489 Reviewed-by: Tomasz Wiszkowski <ender@google.com> Commit-Queue: Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1032527}
- Loading branch information
Showing
3 changed files
with
39 additions
and
101 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