gecko-dev/accessible
James Teh 808f8aaefd Bug 1901676: Set lastParent and lastParentID in DocAccessibleParent::RecvShowEvent. r=eeejay
In bug 1779578, I changed the way a11y trees are serialised such that the parent id is included for each Accessible.
When de-serialising in DocAccessibleParent::RecvShowEvent, in order to avoid a theoretical performance regression caused by repeatedly looking up the same parent, I added an optimisation to use the last parent if it is the same as the current parent.
Unfortunately, it seems I never actually set the lastParent and lastParentID variables, so this optimisation was a no-op!

This is a micro-optimisation: it doesn't seem to make any observable difference.
However, it seems silly to have effectively dead code and it's a very straightforward fix.

Differential Revision: https://phabricator.services.mozilla.com/D213177
2024-06-12 00:56:29 +00:00
..
android Bug 1896516 Part 8 - Remove nsIScrollableFrame usages under accessible/. r=layout-reviewers,emilio 2024-05-30 06:32:20 +00:00
aom Bug 1851273 - P1: Add accessible/ios directory. r=Jamie,morgan,nlapre 2024-03-04 21:11:49 +00:00
atk Bug 1886371 part 6: Add UIA control types to RoleMap. r=nlapre 2024-03-25 03:28:05 +00:00
base Bug 1813976: Support RemoteAccessible::Language on non-HyperText Accessibles. r=morgan 2024-06-05 23:51:11 +00:00
basetypes Bug 1887789 part 1: Fixes to Accessible::LandmarkRole. r=morgan 2024-05-08 06:04:47 +00:00
docs Bug 1893033 - Expand a11y-checks debugging documentation in the Mochitest FAQ. r=Jamie 2024-05-06 16:32:54 +00:00
generic Bug 1813976: Support RemoteAccessible::Language on non-HyperText Accessibles. r=morgan 2024-06-05 23:51:11 +00:00
html Bug 1895408: Add support for exposing critical, supoptimal, optimal meter values via AXValueDescription r=Jamie 2024-05-21 22:11:05 +00:00
interfaces Bug 855184 part 1: Add BOUNDARY_CLUSTER so a11y can query grapheme clusters, AKA user-perceived characters. r=eeejay 2024-06-04 20:36:42 +00:00
ios Bug 1886371 part 6: Add UIA control types to RoleMap. r=nlapre 2024-03-25 03:28:05 +00:00
ipc Bug 1901676: Set lastParent and lastParentID in DocAccessibleParent::RecvShowEvent. r=eeejay 2024-06-12 00:56:29 +00:00
mac Bug 1678712 - Support AXLangauge. r=morgan 2024-06-11 19:41:20 +00:00
other Bug 1862802 part 1: Provide an argument to PlatformCaretMoveEvent specifying whether the event was caused by user input. r=eeejay 2023-11-29 03:53:19 +00:00
tests Bug 1678712 - Support AXLangauge. r=morgan 2024-06-11 19:41:20 +00:00
windows Bug 855184 part 2: Map IA2_TEXT_BOUNDARY_CHAR to cluster. r=eeejay 2024-06-04 20:36:42 +00:00
xpcom Bug 1893376 - have XPCOM GetAccessibleFor return GetAccessibleEvenIfNotInMap when getting an Accessible for a DOM node; r=Jamie 2024-05-07 01:04:21 +00:00
xul Bug 1851273 - P1: Add accessible/ios directory. r=Jamie,morgan,nlapre 2024-03-04 21:11:49 +00:00
moz.build Bug 1851273 - P1: Add accessible/ios directory. r=Jamie,morgan,nlapre 2024-03-04 21:11:49 +00:00