Open Bug 1803370 Opened 10 months ago Updated 2 months ago

[DNR] Consider changes on the enforced rule limits

Categories

(WebExtensions :: Request Handling, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: rpl, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira][wecg])

As a followup to Bug 1745763 we want to consider further changes to the rule limits enforced by DNR, e.g.:

  • consider bumps to the max ruleset and max enabled rulesets limits (related to https://github.com/w3c/webextensions/issues/318)
  • consider bumps to the max number of dynamic rules (related to https://github.com/w3c/webextensions/issues/319)
  • allowing extensions to exceed the guaranteed minimum static rules count (which in chrome is allowed up until a global maximum number of static rules count is reached, we want to consider doing the same but also other alternative approaches, as long as the extension will still be able to use getAvailableRulesCount to figure out how much more enabled rules are allowed to the particular extension)
Whiteboard: [addons-jira] → [addons-jira][wecg]
See Also: → 1745764

We discussed rule limits in the WECG today. Chrome needs to follow up internally, but Safari and we did not object to raising limits:

  • static rules to 100 (was 50)
  • enabled static rules to 20 (was 10).
  • dynamic rule limit to 30k (was 5k).

Additionally, I also asked about separating the quotas of session and dynamic rules. Safari is in favor, and Google needs internal follow-up again. See https://github.com/w3c/webextensions/issues/319#issuecomment-1343159403

Severity: -- → N/A
Priority: -- → P2
See Also: → 1809721
See Also: → 1821033
You need to log in before you can comment on or make changes to this bug.