Closed
Bug 288017
Opened 19 years ago
Closed 19 years ago
List bullet accessibles are not properly initialized & have no unique ID
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
Details
(Keywords: access)
Attachments
(1 file)
I ran into this assertion during some browser torture tests: "access node not initialized", nsAccessibleWrap.cpp #246 It was for list bullet accessibles We don't Init() them, and they have no unique ID or entry into the cache.
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #178794 -
Flags: review?(pkwarren)
Updated•19 years ago
|
Attachment #178794 -
Flags: review?(pkwarren) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #178794 -
Flags: superreview?(neil.parkwaycc.co.uk)
Comment 2•19 years ago
|
||
Comment on attachment 178794 [details] [diff] [review] 1) Use |this| pointer for list bullet accessible unique ID, similar to what we do for tree items, 2) Initialize list bullet accessible when it is created, 3) Proper shutdown procedures >+ mBulletAccessible = new nsHTMLListBulletAccessible(mDOMNode, mWeakShell, >+ aBulletFrame, aBulletText); >+ nsCOMPtr<nsPIAccessNode> bulletANode(do_QueryInterface(mBulletAccessible)); Note that instead of this silly QI (and the similar one in CacheChildren) you could just make mBulletAccessible of nsRefPtr<nsHTMLListBulletAccessible> type.
Attachment #178794 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Assignee | ||
Comment 3•19 years ago
|
||
Checking in src/html/nsHTMLTextAccessible.cpp; /cvsroot/mozilla/accessible/src/html/nsHTMLTextAccessible.cpp,v <-- nsHTMLTextAccessible.cpp new revision: 1.40; previous revision: 1.39 done Checking in src/html/nsHTMLTextAccessible.h; /cvsroot/mozilla/accessible/src/html/nsHTMLTextAccessible.h,v <-- nsHTMLTextAccessible.h new revision: 1.28; previous revision: 1.27 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•