Bug 873661 - Wait both browserloadend and process-created event. r=fabrice