Deal with a dead docshell during document.open. bug 435128, r+sr=jst