Bug 865641 - Very first waitForPageLoad() can fail if the startup page takes too long to load. r=dhunt