1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/test/unit
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
..
actions Export each action constant directly (#8536) 2020-05-06 16:26:09 -02:30
app Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
lib fix: handle trailing / in block explorer URLs 2020-05-14 17:15:17 +08:00
migrations Delete the ABTestController and its state (#8620) 2020-05-19 13:27:06 -02:30
responsive/components Remove redux-test-utils dependency (#8070) 2020-02-18 14:54:03 -03:30
ui Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
balance-formatter-test.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
localhostState.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30