This fails because with async policy, the first frame doesn't finish loading after its simulated click before the third frame finishes loading, and the test ends once the third frame is loaded. To make the test work with both sync and async policy, we need to make the test wait for all frames to finish loading no matter which one finishes first.
*** This bug has been marked as a duplicate of bug 183460 ***