1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/lib
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
..
ens-ipfs Fix import/extensions issues (#9217) 2020-08-14 09:16:45 -02:30
migrator Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
account-tracker.js Fix consistent-return issues (#9192) 2020-08-12 16:36:57 -02:30
background-metametrics.js Refactor assignment of "Background" metrics category (#9168) 2020-08-10 12:38:56 -03:00
buy-eth-url.js Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
cleanErrorStack.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
ComposableObservableStore.js Fix no-prototype-builtins issues (#9213) 2020-08-13 18:04:51 -02:30
createLoggerMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createMethodMiddleware.js Send web3 usage metrics once per origin/property (#9237) 2020-08-14 19:15:21 -03:00
createOnboardingMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createOriginMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createStreamSink.js Fix words (#9038) 2020-07-20 14:32:49 -02:30
createTabIdMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
decrypt-message-manager.js Fix max-statements-per-line issues (#9218) 2020-08-14 15:13:56 -02:30
encryption-public-key-manager.js Fix max-statements-per-line issues (#9218) 2020-08-14 15:13:56 -02:30
enums.js Add MESSAGE_TYPE enum (#8743) 2020-06-04 16:22:45 -03:00
extractEthjsErrorMessage.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
fetch-with-timeout.js Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
freezeGlobals.js Fix no-negated-condition issues (#9222) 2020-08-14 09:17:43 -02:30
get-first-preferred-lang-code.js Fix no-prototype-builtins issues (#9213) 2020-08-13 18:04:51 -02:30
getObjStructure.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
local-store.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
message-manager.js Fix max-statements-per-line issues (#9218) 2020-08-14 15:13:56 -02:30
network-store.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
nodeify.js Fix prefer-rest-params issues (#9215) 2020-08-13 18:05:18 -02:30
notification-manager.js Fix popup/notification when browser is in fullscreen, primarily on macOS. (#9075) 2020-07-27 11:33:25 -07:00
personal-message-manager.js Fix max-statements-per-line issues (#9218) 2020-08-14 15:13:56 -02:30
random-id.js Fix no-plusplus issues (#9206) 2020-08-12 20:36:44 -02:30
seed-phrase-verifier.js Use async/await for seedPhraseVerifier.verifyAccounts (#9100) 2020-07-29 19:50:38 -02:30
select-chain-id.js Cleanup network enums (#8627) 2020-05-20 08:57:45 -07:00
setupFetchDebugging.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
setupSentry.js Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
setupWeb3.js Handle non-String web3 property access (#9256) 2020-08-18 12:01:43 -03:00
stream-utils.js Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
typed-message-manager.js Fix max-statements-per-line issues (#9218) 2020-08-14 15:13:56 -02:30
util.js Fix no-negated-condition issues (#9222) 2020-08-14 09:17:43 -02:30