Crash report: `QuotaExceededError: The quota has been exceeded.`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
URL
https://app.uniswap.org/#/swap?chain=mainnet
swap state
{
"INPUT": {
"currencyId": "ETH"
},
"OUTPUT": {
"currencyId": null
},
"independentField": "INPUT",
"typedValue": "",
"recipient": null
}
Error
QuotaExceededError: The quota has been exceeded.
Stacktrace
setItem@[native code]
@https://app.uniswap.org/static/js/main.c667c312.chunk.js:1:146000
rs@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3629485
Su@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3649698
@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3648433
Eu@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3648497
su@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3642218
su@[native code]
Hi@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3582681
@https://app.uniswap.org/static/js/4.28e90265.chunk.js:2:3639621
Device data
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/76.0.3809.123 Mobile/15E148 Safari/605.1",
"browser": {
"name": "Chrome",
"version": "76.0.3809.123",
"major": "76"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "iOS",
"version": "13.1"
},
"device": {
"vendor": "Apple",
"model": "iPhone",
"type": "mobile"
},
"cpu": {}
}
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 by reproducing the swap URL on the reported iPhone and Chrome setup, then trace the setItem call shown in the stack trace and identify the storage operation that raises QuotaExceededError. Done means the swap page no longer crashes when storage quota is exceeded, with the existing swap state still usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100