MetaMask / MetaMask/metamask-extension
[Bug]: MV3 - `This browser doesn't support requestAnimationFrame` and `This browser doesn't support cancelAnimationFrame.`
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
Whenever I start an MV3 build, I am seeing these 2 errors in the service worker console:
- `This browser doesn't support requestAnimationFrame`
- `This browser doesn't support cancelAnimationFrame.`
Not sure if it has any other impact, aside from the logs. Feel free to close if those error should be ignored
### Expected behavior
Errors are correctly handled
### Screenshots/Recordings

### Steps to reproduce
1. Build MV3
2. Start MM
3. Check service worker console
### Error messages or log output
_No response_
### Version
develop MV3 build
### Build type
None
### Browser
Chrome
### Operating system
Linux
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Reproduce the issue by building MV3, starting MetaMask, and inspecting the service worker console in Chrome. Trace the source of the requestAnimationFrame and cancelAnimationFrame messages, then verify that the MV3 service worker no longer emits incorrect errors or that expected errors are handled appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100