Closed
Bug 288242
Opened 20 years ago
Closed 20 years ago
Bad accessible object shutdown procedure
Categories
(Firefox :: Disability Access, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
Details
(Keywords: access)
Attachments
(1 file)
|
961 bytes,
patch
|
pkwarren
:
review+
dmosedale
:
superreview+
|
Details | Diff | Splinter Review |
The loop in nsAccessible::Shutdown() is supposed to walk through the children and make sure none of them point to it anymore. The problem is the GetNextSibling() used in the loop creates a parent if there is none, and we're setting the parent to null for that child before we call GetNextSibling() on it.
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #179019 -
Flags: review?(pkwarren)
| Assignee | ||
Updated•20 years ago
|
Attachment #179019 -
Flags: superreview?(dmose)
Updated•20 years ago
|
Attachment #179019 -
Flags: review?(pkwarren) → review+
Comment 2•20 years ago
|
||
Comment on attachment 179019 [details] [diff] [review] Simple patch to switch order of 2 lines, set the parent to null after we have the next sibling from it sr=dmose
Attachment #179019 -
Flags: superreview?(dmose) → superreview+
| Assignee | ||
Comment 3•20 years ago
|
||
Checking in accessible/src/base/nsAccessible.cpp; /cvsroot/mozilla/accessible/src/base/nsAccessible.cpp,v <-- nsAccessible.cpp new revision: 1.140; previous revision: 1.139 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•