Handle the case when Mv3 limit of dynamic rules is exceeded
Manifest V3 imposes a few limitations to the numbers of filters and filter lists that an extension can use. Some of these limits can be reached during runtime and need to be handled properly.
One limit is relevant at runtime and can be reached due to user action:
- Maximum of 5000 dynamic DNR rules
What to change
- Handle the case of > 5k dynamic DNR rules
- Introduce tests for both scenarios
ABP/Adblock should be notified that we've introduced a new
too_many_filters error reason they might want to handle in the future if a user adds dynamic filters exceeding the 5K API's hard-coded limit.