Skip to contentOpen History to see the last commit
browserRecordingScope.ts
7 lines264 Bytes
1export function resolveBrowserRecordingStopTarget( 2 activeTabId: string | null, 3 requestedTabId?: string, 5 if (activeTabId === null) return null; 6 return requestedTabId === undefined || requestedTabId === activeTabId ? activeTabId : null;