Implement scriptable mutation observer component

NEW
Unassigned

Status

()

Core
DOM
--
enhancement
9 years ago
5 years ago

People

(Reporter: WeirdAl, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
This subject comes up every now and then - mutation event listeners work, but they're expensive.  If we could create a scriptable mutation observer, we could save some processing cycles.
(Reporter)

Comment 1

9 years ago
A search on MXR shows this isn't badly needed:
http://mxr.mozilla.org/mozilla-central/search?string=addEventListener%28%22DOM&find=\.js$

Aside from tests, the only areas which use mutation listeners are the "places" bookmarkProperties.xul dialog, and the tab previews capability (which appears ifdef'd out right now per bug 465843, but I'm not totally sure of that).
(Assignee)

Updated

5 years ago
Component: DOM: Mozilla Extensions → DOM
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.