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
Erik Marks 2301d9980e
Wait for extension unlock before processing eth_requestAccounts (#8149)
* eth_requestAccounts: wait on unlock

return error on duplicate eth_requestAccounts
add getUnlockPromise mock to permissions unit tests

* only await unlock if already permitted

* add notification badge for wait on unlock

* fixup

* more fixup

* cleanup

* update keyring controller, us its unlock event

* move keyring update unlock logic to unlock event handler

* fix unit tests

* delete onUnlock handler

* fix eth-keyring-controller resolution

* update eth-keyring-controller
2020-03-23 09:25:55 -07:00
..
helpers.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
mocks.js Wait for extension unlock before processing eth_requestAccounts (#8149) 2020-03-23 09:25:55 -07:00
permissions-controller-test.js Wait for extension unlock before processing eth_requestAccounts (#8149) 2020-03-23 09:25:55 -07: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