Bug 823325 - Use timeout before calling browser.focus(). r=mfinkle