[Webkit-unassigned] [Bug 18205] DOMNode objects are garbage collected although there are strong references

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 5 07:26:29 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18205





------- Comment #14 from darin at apple.com  2008-04-05 07:26 PDT -------
OK, I have a different question for you.

Why is it that you think that objects that are put on the redo stack should
never be finalized? If you put a new object on the undo stack, then I believe
that makes the redo stack get emptied in which case the objects on the redo
stack should be finalized soon afterward.

I was easily able to reproduce objects on the redo stack being finalized by
changing the test case so the redo didn't involve DOM wrappers at all -- just a
custom object, and many instances of this custom class were finalized even
though all were added to the redo stack. I think that makes it pretty clear
here that nothing here is about DOM wrappers. It seems more like a
misunderstanding about undo/redo. But I don't get how that relates to your
original crash.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list