1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey 320e8c0af9
Fix TypeError when signTypedData throws (#9596)
If the `signTypedData` background function threw an exception, it would
return `undefined` to the UI, which would throw another exception in
the UI. It now re-throws the error if an error is thrown, which
allows the UI to handle the error.

I'm not sure why this might fail, and I'm not sure we're handling this
failure well, but this is an improvement at least.
2020-10-13 21:20:50 -07:00
..
account-import-strategies Fix prefer-spread issues (#9203) 2020-08-12 20:42:07 -02:30
controllers Add data point to 'Swaps Completed' segment event: estimated vs used gas (#9571) 2020-10-13 16:11:26 -02:30
lib Fix signTypedData_v4 chainId param validation (#9552) 2020-10-12 12:10:19 -07:00
migrations Migrate 'localhost' tokens (#9570) 2020-10-13 07:07:00 -07:00
platforms Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
background.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
first-time-state.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
inpage.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
metamask-controller.js Fix TypeError when signTypedData throws (#9596) 2020-10-13 21:20:50 -07:00
phishing-detect.js Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30
ui.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30