Open
Bug 514721
Opened 15 years ago
Updated 2 years ago
Implement scriptable mutation observer component
Categories
(Core :: DOM: Core & HTML, enhancement, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: WeirdAl, Unassigned)
Details
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•15 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).
Reporter | ||
Comment 2•15 years ago
|
||
Looks like I spoke too soon: http://hg.mozilla.org/mozilla-central/annotate/c3eec5d6a63a/toolkit/content/widgets/menulist.xml#l238 So any XUL menulist in a non-XUL document would incur this penalty too. I found this by widening my search: http://mxr.mozilla.org/mozilla-central/search?string=addEventListener%28%22DOM&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Assignee | ||
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Comment 3•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•