Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait for user allowlisting to apply before reloading the website (#2515)
The popup UI (e.g. privacy dashboard) lets users disable protections for a website. When the user clicks the toggle button, the website is allowlisted and reloaded. With MV3, this requires a declarativeNetRequest rule update which doesn't happen instantly. We need to take care for that rule update to finish before reloading the page, because otherwise some requests might still be blocked after the reload.
- Loading branch information