Ok I guess we'll need to add `unsetDomWindow(window)` too.