gecko-dev/accessible/ipc
James Teh 786351922e Bug 1798620 part 2: Remove DocAccessibleParent::mParentDoc. r=eeejay
We have RemoteAccessible::mParent and RemoteAccessible::mDoc, so DocAccessibleParent::mParentDoc was redundant.
Aside from the redundancy, this was one extra thing we needed to keep up to date and reason about.

This involved changing the call to RemoveChildDoc in Destroy to use Unbind instead because Unbind clears the parent RemoteAccessible, but RemoveChildDoc didn't.
That meant we had a dangling RemoteAccessible::mParent pointer, which was always a problem, but is more problematic now that we no longer have mParentDoc and the destructor checks the parent document.
Since Unbind is the only caller of RemoveChildDoc, RemoveChildDoc has been merged into Unbind.
This means there is now only a single place where child documents are unbound from their parent, which should make things easier to reason about.

Differential Revision: https://phabricator.services.mozilla.com/D218802
2024-08-09 01:45:31 +00:00
..
DocAccessibleChild.cpp Bug 1907422 - Rename "click ancestor" as "clickAncestor". r=Jamie 2024-07-15 04:46:18 +00:00
DocAccessibleChild.h Bug 1875528 - Part 1: Make IProtocol hold a strong reference to manager, r=ipc-reviewers,mccr8 2024-04-22 17:13:22 +00:00
DocAccessibleParent.cpp Bug 1798620 part 2: Remove DocAccessibleParent::mParentDoc. r=eeejay 2024-08-09 01:45:31 +00:00
DocAccessibleParent.h Bug 1798620 part 2: Remove DocAccessibleParent::mParentDoc. r=eeejay 2024-08-09 01:45:31 +00:00
DocAccessibleTypes.ipdlh Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8 2023-03-20 15:40:37 +00:00
IPCTypes.h Bug 1905211 part 3: Introduce TextOffsetAttribute struct and support it as a serialisable attribute value. r=morgan 2024-08-05 02:54:36 +00:00
PDocAccessible.ipdl Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
RemoteAccessible.cpp Bug 1798620 part 1: Make RemoteAccessible::mParent a pointer instead of an id. r=eeejay 2024-08-09 01:45:31 +00:00
RemoteAccessible.h Bug 1798620 part 1: Make RemoteAccessible::mParent a pointer instead of an id. r=eeejay 2024-08-09 01:45:31 +00:00
moz.build Bug 1851273 - P1: Add accessible/ios directory. r=Jamie,morgan,nlapre 2024-03-04 21:11:49 +00:00