MetaMask / MetaMask/metamask-extension

[Bug]: MV3 - `This browser doesn't support requestAnimationFrame` and `This browser doesn't support cancelAnimationFrame.`

Open
#24,598 7 comments 1 reaction 0 assignees View on GitHub
MV3 Sev3-low team-extension-platform type-bug
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

![Screenshot from 2024-05-20 09-54-12](https://github.com/MetaMask/metamask-extension/assets/54408225/911d6f6a-8516-406a-ab85-cf7c30834d82)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.