Bug 831933: Introduce a short timeout after the window gets focus before continuing

This test clones SimpleTest.waitForFocus however it doesn't have the additional timeout after focus is complete that waitForFocus does. Let's see if that fixes the intermittent problem.