Closed Bug 734730 Opened 12 years ago Closed 6 years ago

Use a performant mutation event listener when available to resize the personal-bookmarks

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
minor

Tracking

()

RESOLVED INACTIVE

People

(Reporter: owenjonesuk, Unassigned)

References

Details

Follow up from Bug 603817. In that bug I was told not to use the events DOMNodeInserted and DOMNodeRemoved to detect when things have been added or removed from the toolbar that personal-bookmarks (aka bookmark toolbar items) is in because they are DOM mutation events, which slow Firefox down. In that bug we dealt with the case that the personal-bookmarks have been moved to the tabs toolbar and opening or closing tabs means the personal-bookmarks should be resized. When there is a more performant alternative to DOMNodeInserted and DOMNodeRemoved we should use them instead.
Status: UNCONFIRMED → NEW
Component: Toolbars → Bookmarks & History
Ever confirmed: true
QA Contact: toolbars → bookmarks
DOM4 Mutation observers have been implemented as a performant alternative.
Depends on: 641821
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.