trying a new method of getting a chromeWindow from a Tab or BrowserWindow