Test for Bug 33687: window.onload never fires if page contains a