[DevTools Bug]: inspecting pseudo-elements in Firefox gives error `Permission denied to access property "__reactFiber$sofadm08s2"`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 251k
- Forks
- 51.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 53
Description
Website or app
Repro steps
- Go to the Sandbox link in Firefox (129.0.2), with React DevTools (5.3.1)
- Open the inspector.
- Select the
::afterpseudo-element next to the<h1>.
More Info
I add a screenshot of the issue.
This is happening from a while. Of course, is not a big issue, because if I close the error on the main screen, I can keep working. And until now I wasn't using much of pseudo-elements.
But now, I'm working on a new feature in our app, where I'm relying hardly on ::after en ::before pseudo elements. And it is quite annoying.
This is happening since DevTools 4.28.4. Until v4.27.8 I didn't had problems. On this version (4.27.8) the error is shown only when opening the tab "(React) Components" in the inspector... which kind of make sense, right?.
What doesn't make sense (to me) is that I got this error when inspecting the pseudo-element in the basic firefox inspector (trying to apply css properties on it).
How often does this bug happen?
Every time
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked sandbox in Firefox 129.0.2 and reproduce the error while inspecting the h1 ::after pseudo-element. Compare the behavior with React DevTools 4.27.8 and 4.28.4; done means inspecting pseudo-elements no longer produces the permission-denied error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100