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.355ff957.chunk.js:1:38177
Ls@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2799549
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2817328
ws@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2790501
ws@[native code]
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2740091
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2817328
Yi@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2740037
Ki@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2739972
bs@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2787975
Ca@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2759625
Ca@[native code]
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2670345
forEach@[native code]
r@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2662570
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2661797
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2473324
c@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2655941
https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2655726
a@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2469358
promiseReactionJob@[native code]
Device data
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
"browser": {
"name": "WebKit",
"version": "605.1.15",
"major": "605"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "iOS",
"version": "14.4.2"
},
"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 crash at the reported mainnet swap URL on iOS 14.4.2 WebKit, using the supplied swap state. Trace the minified stack from the native setItem call back to its source in the TypeScript application. Done means the swap page no longer crashes when storage quota is exceeded, with the relevant behavior verified on the reported environment.
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