Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

tabFilter no longer filters tabs

Open
#385 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
devtools, tooling

Research direction

Start by locating the tab-filtering condition introduced in commit a29df5f and trace how config.tabFilter is applied to process and tab descriptors. Reproduce the issue with include and exclude filters, then verify that tabs are attached only when their URLs satisfy the configured filters.

Written by the indexing model from the issue text.

Description

Setting the tabFilter property in the config or relying on the automatically generated tabFilter per the documentation does not actually result in any filtered tabs. All tabs are attached regardless of filters. This gums up my console log with all console messages from all tabs I have open, rather than just the ones relevant to the app I'm trying to debug, which is quite annoying.

This seems to be a regression introduced in a29df5f. The tabFilter config option is only verified against processes, not tabs:

const url = targetActor.target.url;
if (
	descriptorActor.type === 'process' && !targetActor.target.addonId && url &&
	(!this.config.tabFilter.include.some(tabFilter => tabFilter.test(url)) ||
	this.config.tabFilter.exclude.some(tabFilter => tabFilter.test(url)))
) {
	skip = true;
}

This is allowing all tabs through regardless of URL.

Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firefox-devtools/vscode-firefox-debug

All issues in firefox-devtools/vscode-firefox-debug

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.