firefox-devtools / firefox-devtools/profiler

"NotFoundError: Node.removeChild: The node to be removed is not a child of this node" error in profiler

Open
#6,046 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

This is moved from https://bugzilla.mozilla.org/show_bug.cgi?id=2033695
The bug contents:

Got this error today :

```
Uh oh, some unknown error happened in profiler.firefox.com.

NotFoundError: Node.removeChild: The node to be removed is not a child of this node.

Please report this issue to the developers, including the full error as displayed in the Developer Tools’ Web Console.
```

Cannot repro

[console-export-2026-4-21_13-4-44.log](https://github.com/user-attachments/files/28143163/console-export-2026-4-21_13-4-44.log)

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-1303)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the attached console-export log and locating the profiler frontend path that calls Node.removeChild; the report names no file or test. Establish a reproducible scenario, then add a regression test and verify that the profiler no longer reports this NotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.