[Webkit-unassigned] [Bug 106942] New: AX: Removing a node from AXObjectCache should not happen in destructor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 15 13:26:46 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106942
Summary: AX: Removing a node from AXObjectCache should not
happen in destructor
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dmazzoni at google.com
When a Node is deleted, AXObjectCache has to be notified so it doesn't have any stale references to that object. However, doing that in the Node destructor is problematic - in particular, it needs some hacks so that it can be called at different times in ContainerNode's destructor vs Node's destructor.
Instead, this should be called in another method of Node that always gets called before the destructor.
Let's add an assertion in debug mode that ensures this method always got called.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list