I would prefer have the `require('../window')` in the block above, with all the others. Something like:
```js
    const { BrowserWindow } = require('../window');
    ...
    let window = this.window = options.window || BrowserWindow({ window: getOwnerWindow(this._tab) });
```