It looks like `XULTreeAccessible::GetChildAt` indirectly flushes layout, which we shouldn't do because we are mid-flush. Four fix options: 1. Change how `XULTreeAccessible` gets its row children. Maybe don't create them lazily? 1. Call `DocAccessible::PruneOrInsertSubtree` asynchronously after layout flush. 1. Change `GetAccessibleOrDescendant` somehow..
Bug 1582561 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
It looks like `XULTreeAccessible::GetChildAt` indirectly flushes layout, which we shouldn't do because we are mid-flush. Three fix options: 1. Change how `XULTreeAccessible` gets its row children. Maybe don't create them lazily? 1. Call `DocAccessible::PruneOrInsertSubtree` asynchronously after layout flush. 1. Change `GetAccessibleOrDescendant` somehow..