gecko-dev/accessible/ipc/other
James Teh 09faad9a85 Bug 1802297: Don't fire show events for the initial a11y tree push. r=eeejay
After bug 1779156, show events were fired from RecvCache, rather than from RecvShowEvent.
This was done to ensure that cache data was available when the event was fired.
However, because RecvCache fired a show event for every initial cache push, this meant that it also fired one for the document itself, plus all the document's initial direct children.
Firing an event for the document caused problems for ATK, since the parent was null for all top level documents.
This also meant we were firing a lot of unnecessary show events, which could be a performance problem for documents with a lot of initial direct children.
To fix this, provide an explicit argument to PDocAccessible::Cache specifying whether to dispatch a show event or not.
This replaces the existing aFinal argument, which was never used.

Differential Revision: https://phabricator.services.mozilla.com/D163192
2022-11-29 05:06:46 +00:00
..
DocAccessibleChild.cpp Bug 1794100: Fix order of arguments for ATK GetPosition. r=eeejay 2022-10-18 21:59:02 +00:00
DocAccessibleChild.h Bug 1794100: Fix order of arguments for ATK GetPosition. r=eeejay 2022-10-18 21:59:02 +00:00
PDocAccessible.ipdl Bug 1802297: Don't fire show events for the initial a11y tree push. r=eeejay 2022-11-29 05:06:46 +00:00
RemoteAccessible.cpp Bug 1794100: Fix order of arguments for ATK GetPosition. r=eeejay 2022-10-18 21:59:02 +00:00
RemoteAccessible.h Bug 1797863 - add class documentation for accessibility tree nodes. r=morgan 2022-11-15 02:49:44 +00:00
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00