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 27e1189c91
Handle non-String web3 property access (#9256)
The web3 usage metrics added in #9144 assumed that all web3 properties
were strings. When a `Symbol` property is accessed, our `inpage.js`
script crashes because the `Symbol` cannot be serialized correctly.

A check has been added for non-string property access. The metric event
in these cases is set to the string "typeof ", followed by the type of
the key. (e.g. `typeof symbol` for a `Symbol` property).

Fixes #9234
2020-08-18 12:01:43 -03:00
..
account-import-strategies Fix prefer-spread issues (#9203) 2020-08-12 20:42:07 -02:30
controllers Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
lib Handle non-String web3 property access (#9256) 2020-08-18 12:01:43 -03:00
migrations Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
platforms Fix Etherscan redirect on notification click (#9211) 2020-08-13 13:51:31 -02:30
background.js Fix import/extensions issues (#9217) 2020-08-14 09:16:45 -02:30
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Fix require-unicode-regexp issues (#9212) 2020-08-14 09:18:42 -02:30
first-time-state.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
inpage.js Fix import/extensions issues (#9217) 2020-08-14 09:16:45 -02:30
metamask-controller.js Remove unused buyEth fn from bg (#9236) 2020-08-14 15:51:48 -02:30
phishing-detect.js Fix import/extensions issues (#9217) 2020-08-14 09:16:45 -02:30
ui.js Fix import/extensions issues (#9217) 2020-08-14 09:16:45 -02:30