Closed Bug 1745764 Opened 4 years ago Closed 3 years ago

[DNR] Prototype of dynamic rules

Categories

(WebExtensions :: Request Handling, enhancement, P2)

enhancement
Points:
5

Tracking

(firefox110 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: robwu, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mv3-m2])

Attachments

(3 files, 2 obsolete files)

Implement registration of rules at runtime (not packaged with an extension) that persist after restarts:

  • declarativeNetRequest.getDynamicRules
  • declarativeNetRequest.updateDynamicRules
Points: --- → 5
Blocks: 1782685
Attachment #9306324 - Attachment description: Bug 1745764 - Disallow tabIds/excludeTabIds conditions in dynamic and static DNR rules. r?robwu! → Bug 1745764 - Only allow tabIds/excludeTabIds in session rulesets. r?robwu!

Comment on attachment 9306324 [details]
Bug 1745764 - Only allow tabIds/excludeTabIds in session rulesets. r?robwu!

Revision D163653 was moved to bug 1804464. Setting attachment 9306324 [details] to obsolete.

Attachment #9306324 - Attachment is obsolete: true

Linking bug 1803370, because two of the patches above touch the topic of rule limits.

Assignee: rob → lgreco
See Also: → 1803370
Attachment #9306410 - Attachment is obsolete: true
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/3a4957b92de9 Add dynamic ruleset to DNR store and implement DNR updateDynamicRules and getDynamicRules API methods. r=robwu https://hg.mozilla.org/integration/autoland/rev/0e9614444a9c Apply rules count limits to DNR dynamic rules updates. r=robwu https://hg.mozilla.org/integration/autoland/rev/cb598e46fc01 Make sure to ignore DNR dynamic rules exceeding the limits also when loaded from disk. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
See Also: → 1809721
Blocks: 1816319
Blocks: 1820870
Blocks: 1821051
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: