Closed Bug 1804464 Opened 2 years ago Closed 2 years ago

[DNR] Restrict tabIds and excludeTabIds conditions to session rules

Categories

(WebExtensions :: Request Handling, task, P2)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: rpl, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

As a followup to Bug 1745761, the DNR rule validation should consider rules with tabIds and excludedTabIds conditions only valid when part of the session ruleset.

As a separate future followups we could consider conditions with tabIds or excludeTabIds set to -1 (not originated from a tab) as valid in DNR rulesets other than session.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [addons-jira]
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/676f216a396f Only allow tabIds/excludeTabIds in session rulesets. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: