[Webkit-unassigned] [Bug 8850] cocoa bindings - crash when DOM nodes are deleted while NSTreeController+NSTableView are bound

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Jun 29 08:05:37 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8850


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




------- Comment #16 from darin at apple.com  2006-06-29 08:05 PDT -------
I realize now that don't undersatnd why the crash happens. The Objective-C code
might have pointers to DOM nodes that are no longer in the DOM tree, but this
should *not* lead to a crash, since the DOM nodes are reference counted.
JavaScript can also hold pointers to DOM nodes long after they are gone from
the DOM tree, and everything works fine. So while having notification about
changes to child nodes is great, I think the crash should be fixed differently,
because it should not happen even without the notification. The child node
change notification is a separate enhancement, good to have but should not be
necessary to avoid crashing.


-- 
Configure bugmail: http://bugzilla.opendarwin.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