ScriptController::clearDOMWindowShell ought to be called updateDOMWindowShell Requested by abarth on #webkit.
We should also ASSERT some invariants of newWindow.
I'm not entirely sure whether this is a good idea.