Firefox seems to be going to onload for an undefined URL