[Greasemonkey] Leak Monitor
Johan Sundström
oyasumi at gmail.com
Tue May 9 02:57:37 EDT 2006
> These should not leak. If they do it would be a bug in Mozilla. And
> while there are some bugs like that which are still open, you wouldn't
> hit them without doing particular patterns of event listening.
That's a nice positive surprise. I had learnt that event handlers
carrying DOM nodes in their closure would leak the entire document
(albeit not by design, though due to still unclosed Mozilla bugs), but
I don't seem able to trigger that from GM scripts now, even though I
try.
Perhaps the situation used to be worse with prior Mozilla versions, or
I'm just a bit too tired to toss up good test cases. Or maybe I'm just
being overly-healthily pessimistic, for a change. :-)
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
More information about the Greasemonkey
mailing list