1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/test/unit/app/controllers/permissions
Mark Stacey b2882aa778
Handle account selection on all domains that can view the selection (#8341)
Selecting a new account now results in all domains that can view this
change being notified. Previously only the dapp in the active tab was
being notified (though not correctly, as the `origin` was accidentally
set to the MetaMask chrome extension origin).

This handling of account selection has been moved into the background
to minimize the gap between account selection and the notification
being sent out. It's simpler for the UI to not be involved anyway.
2020-04-16 13:16:53 -03:00
..
helpers.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
mocks.js Handle account selection on all domains that can view the selection (#8341) 2020-04-16 13:16:53 -03:00
permissions-controller-test.js Handle account selection on all domains that can view the selection (#8341) 2020-04-16 13:16:53 -03:00
permissions-log-controller-test.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
permissions-middleware-test.js Wait for extension unlock before processing eth_requestAccounts (#8149) 2020-03-23 09:25:55 -07:00
restricted-methods-test.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00