1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
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
..
_locales
fonts
images
manifest Version v8.0.8 2020-08-14 19:39:41 -03:00
scripts Handle non-String web3 property access (#9256) 2020-08-18 12:01:43 -03:00
vendor/trezor
home.html
loading.html
notification.html
phishing.html
popup.html
trezor-usb-permissions.html