there should be a test that the deprecation warning is actually fired without causing an error too, there is a similar test for `window.isWindowPrivate` on `BrowserWindow` instances.