We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a65641 commit 3ae2b43Copy full SHA for 3ae2b43
webextensions/common/tst-api.js
@@ -1317,7 +1317,7 @@ export async function getTargetTabs(message, sender) {
1317
1318
if (Array.isArray(tabQuery))
1319
return getTabsFromWrongIds(tabQuery, windowId, sender);
1320
- const isAllVisible = tabQuery && tabQuery.toLowerCase() == 'allvisible';
+ const isAllVisible = tabQuery && String(tabQuery).toLowerCase() == 'allvisible';
1321
if (windowId) {
1322
if (tabQuery == '*')
1323
return Tab.getAllTabs(windowId, { iterator: true });
0 commit comments