Open Bug 1803369 Opened 2 years ago Updated 5 months ago

[DNR] Improvements to DNR extension development experience

Categories

(WebExtensions :: Request Handling, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: rpl, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

As a followup to Bug 1745763, we are considering some improvements to aid extension developers investigating DNR-related issues in their extensions.

In particular, the following are some that we have been discussing as part of Bug 1745763 review passes:

  • due to the rules validation being potentially expensive on big sets of static rules, we are going to minimize the rule validation and only validate the enabled rules once (and cache the validated and normalized rules) and not validate disabled static rulesets, and so we are considering to allow the extension developers to explicitly request validation of all or a particular static rulesets (e.g. from about:debugging)

  • the extension manifest and packaging warnings are already being shown in about:debugging, but validating the rulesets may produce a higher amount of validation warnings and the way we present the warnings in the about:debugging card may not be currently be optimized for that amount of warnings and so the resulting developer experience something we could improve

Severity: -- → N/A
Priority: -- → P3
Depends on: 1827858
You need to log in before you can comment on or make changes to this bug.