1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/test/unit/app/controllers
Mark Stacey 6ca18c3573
Fix handling of permissions of removed accounts (#8803)
Imported accounts can be removed, but the permissions controller is not
informed when this happens. Permissions are now removed as part of the
account removal process.

Additionally, the `getPermittedIdentitiesForCurrentTab` selector now
filters out any non-existent accounts, in case a render occurs in the
middle of an account removal.

This was resulting in a render crash upon opening the popup on a site
that was connected to the removed account.
2020-06-15 10:27:27 -03:00
..
network Cleanup network enums (#8627) 2020-05-20 08:57:45 -07:00
permissions Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
transactions blocklisted -> blocked 2020-06-08 17:57:59 -07:00
cached-balances-test.js
detect-tokens-test.js
ens-controller-test.js
incoming-transactions-test.js Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
metamask-controller-test.js Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
preferences-controller-test.js
token-rates-controller.js Fix TokenRatesController (#8780) 2020-06-10 16:53:37 -03:00