nsIAccessibleSelectable clearSelection and selectAllSelection aren't optimal

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
9 years ago
2 years ago

People

(Reporter: surkov, Unassigned)

Tracking

(Blocks: 1 bug, {access})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [auto-closed:inactivity])

(Reporter)

Description

9 years ago
nsAccessible implementation of nsIAccessibleSelectable clearSelection and selectAllSelection aren't performant because for every found selectable child they call SetSelected which ensures again if this child can be selected. We need to get rid this double search (from parent to child, from child to parent).

Also it sounds we could improve SetSelected(PR_FALSE) if we won't check whether the accessible is selectable or not, it's not awful if we just remove ARIA aria-selected attribute if any.
AUTO-CLOSED. This bug untouched for over 2000 days. Please reopen if you can confirm the bug and help it progress.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [auto-closed:inactivity]
You need to log in before you can comment on or make changes to this bug.