Closed
Bug 778479
Opened 14 years ago
Closed 12 years ago
[regression] observer-service should accept both objects and functions
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: zer0, Unassigned)
References
Details
As noted by Yanski on the mailing list, `observer-service` methods doesn't accept object anymore, but only functions.
In accordance with the docs, we used to support both, so I believe this is a regression introduced by this commit:
https://github.com/mozilla/addon-sdk/commit/1d590b0469ab9c84dc7d23741ae35157356d3cf9
We should fix the regression, or if it was intentional, update the documentation.
Maling list discussion:
https://groups.google.com/forum/?fromgroups#!topic/mozilla-labs-jetpack/E0J_yp9CqU8
Documentation:
https://addons.mozilla.org/en-US/developers/docs/sdk/latest/packages/api-utils/observer-service.html#add%28topic%2C_callback%2C_thisObject%29
Priority: -- → P2
Comment 1•12 years ago
|
||
I removed the observer-service in bug 958908.
You need to log in
before you can comment on or make changes to this bug.
Description
•