Can we call this `getDOMWindow` as in original pull request ?