MetaMask / MetaMask/metamask-extension
[Bug]: Page Crash - Clicking `Try Again` while having dev tools open, crashes the browser with:`Google Chrome quit unexpectedly`
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
Whenever you land into a MM page crash, if you click on `Try Again` while having dev tools open, makes the whole browser crash with:`Google Chrome quit unexpectedly`.
Note: the browser does **not** crash if the dev tools are closed
### Expected behavior
The browser shouldn't crash
### Screenshots/Recordings
https://github.com/user-attachments/assets/814bdcaf-1175-4024-94a1-afb880b3521a
### Steps to reproduce
1. Start MM with Developer options enabled
2. Open 2 tabs
3. Open MM on one tab
4. Open dev tools (click Service Worker from Extensions page)
5. Go to developer tools
6. Click Page Crash
7. Click Try Again
8. See the whole browser crashes
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
13.14.0
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Reproduce the crash on macOS with Chrome 13.14.0 using the listed two-tab and Service Worker developer-tools steps, then inspect the browser and extension crash output; no log or source file is named in the issue. Done means clicking Try Again with developer tools open no longer crashes Chrome, while the closed-tools case remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100