Skip to content

Commit c68dfba

Browse files
committed
chore: playInIncognito setting not required to attach recorder to incognito
1 parent 87a03cb commit c68dfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/recorder-crx/src/background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async function attach(tab: chrome.tabs.Tab, mode?: Mode) {
110110
return;
111111

112112
// if the tab is incognito, chek if can be started in incognito mode.
113-
if (tab.incognito && (!allowsIncognitoAccess || !settings.playInIncognito))
113+
if (tab.incognito && !allowsIncognitoAccess)
114114
throw new Error('Not authorized to launch in Incognito mode.');
115115

116116
const sidepanel = !isUnderTest() && settings.sidepanel;

0 commit comments

Comments
 (0)