(tabId: string)
| 649 | } |
| 650 | |
| 651 | export function getWaveWindowByTabId(tabId: string): WaveBrowserWindow { |
| 652 | for (const ww of waveWindowMap.values()) { |
| 653 | if (ww.allLoadedTabViews.has(tabId)) { |
| 654 | return ww; |
| 655 | } |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | export function getWaveWindowByWebContentsId(webContentsId: number): WaveBrowserWindow { |
| 660 | if (webContentsId == null) { |
no outgoing calls
no test coverage detected