Closed Bug 1162543 Opened 9 years ago Closed 9 years ago

fixup getting accessibles from ids

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: tbsaunde, Assigned: tbsaunde)

Details

Attachments

(2 files)

DocAccessible::mAccessibleCache doesn't contain an entry for the document
itself so we need to handle it separately.  The document always has ID 0, so we
can just check if that is the ID we are getting and if so just return the
document.
This is expected to happen when a accessible in the child process is shutdown,
     but the parent calls a method with its ID before learning it has been shut
     down.
Attachment #8602772 - Flags: review?(dbolter)
Attachment #8602772 - Flags: review?(dbolter) → review+
Comment on attachment 8602770 [details] [diff] [review]
make DocAccessibleChild::IDToAccessible correctly get the document

Review of attachment 8602770 [details] [diff] [review]:
-----------------------------------------------------------------

ok
Attachment #8602770 - Flags: review?(dbolter) → review+
Assignee: nobody → tbsaunde+mozbugs
You need to log in before you can comment on or make changes to this bug.