Closed
Bug 1553462
Opened 6 years ago
Closed 6 years ago
Allow PrefObserver utils to add weak weak observer
Categories
(DevTools :: Shared Components, task, P2)
DevTools
Shared Components
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 obsolete file)
In the PrefObserver devtools/client/shared/prefs.js#180-206, it would be interesting to allow adding a weak observer, so the consumer don't have to take care of removing the observer.
| Assignee | ||
Updated•6 years ago
|
Type: defect → task
| Assignee | ||
Comment 1•6 years ago
|
||
This will allow a consumer to not have to call the PrefObserver
destroy function.
A test is also added for the PrefObserver util as there
wasn't any.
| Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Attachment #9066746 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•