Closed
Bug 494380
Opened 17 years ago
Closed 9 years ago
[meta] Better notifications for Places
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: mak, Unassigned)
References
Details
There is a bunch of information that we miss when we fire notifications, this causes the observer to discover informations by itself, that is expensive since we do already know those. Some example:
ItemAdded should tell me which kind of item has been added, and the dateAdded time that has been associated to the item
ItemChanged should tell me item type, both old and new value, and the lastModified time that has been associated to the item
ItemRemoved should tell me item type (same for onBeforeItemRemoved)
basically we should look at what we most likely have available when we fire a notification, and pass that data, so who receive the notification does not have to query the db again to discover why it has received it.
| Reporter | ||
Updated•17 years ago
|
Flags: wanted1.9.2?
Comment 1•17 years ago
|
||
Is this bug for nsINavHistoryObservers, nsINavBookmarkObservers, nsINavHistoryResultViewers, or all of the above? Dependent bug 497387 appears to refer to nsINavHistoryResultViewers only. (Bug 498032 needs a better nsINavBookmarkObserver.onItemChanged or a nsINavBookmarkObserver.onBeforeItemChanged, and I'm trying to figure out if this bug blocks or solves that.)
| Reporter | ||
Comment 2•17 years ago
|
||
i want to file a new bug about adding item type, and make this depend on that. We can use this bug to add ideas to implement to make notifications better.
| Reporter | ||
Updated•16 years ago
|
Flags: wanted1.9.2?
Summary: Better notifications for Places → [meta] Better notifications for Places
| Reporter | ||
Comment 3•16 years ago
|
||
changing into a meta bug, Mano is working on bug 498130 that should implement partially ideas expressed here and on our plan page.
| Reporter | ||
Comment 4•9 years ago
|
||
superseded by bug 1340498
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•