[Webkit-unassigned] [Bug 103916] MutationObservers should be passed unique MutationRecords

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 8 11:43:09 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=103916

William J. Edney <bedney at technicalpursuit.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bedney at technicalpursuit.com

--- Comment #1 from William J. Edney <bedney at technicalpursuit.com> ---
This bug really caused me a lot of confusion. I have a long-lived MO that observes changes on the #document node (observing both childList and subtree, of course). I wondered why I was seeing a lot of the same Mutation Records over and over again (and this list grows as my app runs).

For now, I mark these objects with an expando slot to let me know the record has already been processed, but this should be unnecessary (and it's wildly inefficient to be called with records I've already processed).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150108/7a6e737b/attachment-0002.html>


More information about the webkit-unassigned mailing list