Closed Bug 970319 Opened 12 years ago Closed 12 years ago

Adding / removing dynamically rules to Page-Mod's `include` should affect existing documents

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zer0, Unassigned)

Details

If `attachTo` has "existing" has value, add or remove rules to `include` property should affect existing documents and not only be applied to new documents.
We discussed this issue at the triage and decided that it's probably better to just disallow making changes to `include` after worker is created rather than keeping it's changes in sync with existing documents. It's easy enough to create new mod with a modified filter. Given that we allow mutations now, we should just deprecate that by printing a warning & also pointing out that changes won't reflect on existing documents & in a future they'll be ignored entirely.
Flags: needinfo?(rFobic)
WONTFIXing per comment 1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.