Closed Bug 392800 Opened 17 years ago Closed 17 years ago

New crash with image map areas

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

References

Details

(Keywords: access, crash, regression)

Attachments

(1 file)

This is a regression from bug 390280. In it we changed nsHTMLImageAccessible::GetRole() to call CacheChildren(). We inherit from nsHTMLLinkableAccessible which inherits from nsHTMLHyperTextAccessible. nsHyperTextAccessible::QueryInterface() calls GetRole() and thus we enter an infinite loop.
btw, why do image acc inherit from hypertext acc?
Surkov, because they need to be linkable accessible.
Surkov, they need to be linkable accessible which inherits from that.
Comment on attachment 277303 [details] [diff] [review] Fix crash and make sure images don't QI to text/editabletext/hypertext interfaces ok, I missed this
Attachment #277303 - Flags: review?(surkov.alexander) → review+
Attachment #277303 - Flags: approval1.9?
Attachment #277303 - Flags: approval1.9? → approval1.9+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: