Bug 924972 - Wait for focus before running test_reftests_with_caret.html and also focus the iframe inside the test properly; r=Enn