1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/test/unit/app/controllers/permissions
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
..
helpers.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
mocks.js Permissions: Do not display HTTP/HTTPS URL schemes for unique hosts (#8768) 2020-06-09 13:56:24 -07:00
permissions-controller-test.js Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
permissions-log-controller-test.js Adds the rule of hooks eslint rule (#8779) 2020-06-10 13:31:14 -05:00
permissions-middleware-test.js Permissions: Do not display HTTP/HTTPS URL schemes for unique hosts (#8768) 2020-06-09 13:56:24 -07:00
restricted-methods-test.js Fix order of accounts in eth_accounts response (#8342) 2020-04-16 15:20:01 -03:00