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.
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.
Reviewer: @sammacbeth
Steps to test this PR:
Automated tests:
Reviewer Checklist:
PR Author Checklist: