luukvanderduim / fama11y-tree

Building a tree of objects on the accessibility bus.
1 stars 1 forks source link

Does not detect cycles #2

Open TTWNO opened 1 month ago

TTWNO commented 1 month ago

I know AT-SPI should not give out cycles, but I had a tab open that had a cycle (I assume) and the script runs forever (or at least 15 minutes, hehe).

You should probably add some cycle detection just in case it does encounter a cycle of some kind.

luukvanderduim commented 1 month ago

You suspect objects A and B, where A is parent to B and B claims to be parent of A?

Do you have that tab around still or do you know which page it was? How could we (synthetically) recreate a cycle so we can reproduce the problem?