Closed Bug 1007912 Opened 10 years ago Closed 1 month ago

Warn about using the observer service directly in SDK add-ons

Categories

(addons.mozilla.org Graveyard :: Add-on Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE
2015-02

People

(Reporter: kmag, Unassigned)

References

Details

(Whiteboard: [ReviewTeam:P1])

SDK add-ons should use the "system/events" module when they need to access the observer service, since it leaves less opportunity for errors such as failure to properly cleanup. We should warn when SDK add-ons (and *only* SDK add-ons) try to use `nsIObserverService` or `Services.obs`
Whiteboard: [ReviewTeam]
Assignee: nobody → kmaglione+bmo
Whiteboard: [ReviewTeam] → [ReviewTeam:P1]
Target Milestone: --- → 2015-02
Blocks: 1175332
Product: addons.mozilla.org → addons.mozilla.org Graveyard
Assignee: kmaglione+bmo → nobody
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.