1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey 5c5c90e70a
Ignore permission approval/rejection if request is missing (#7638)
Attempts to approve or reject a permissions request that is no longer
pending will now emit a warning instead of throwing an exception.

I _think_ this can happen by clicking 'Submit' on the Permission
Connect screen twice, though I've been unable to reproduce that. I know
that it can be done if using multiple windows though. While it is
possible we have a UI bug somewhere (e.g. maybe we're not preventing
'Submit' from being clicked twice), I don't think it's possible to
eliminate the chance of this happening altogether, so we'd best prepare
for it.
2019-12-03 23:13:47 -04:00
..
account-import-strategies account-import-strategies - ensure privateKey is prefixed before converting to buffer 2018-06-13 21:06:33 -07:00
controllers Ignore permission approval/rejection if request is missing (#7638) 2019-12-03 23:13:47 -04:00
lib Revert "Update Wyre ETH purchase url" (#7631) 2019-12-03 17:12:14 -08:00
migrations Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
platforms Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
background.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
edge-encryptor.js Enable no-var rule for ESLint (#7590) 2019-12-03 11:22:01 -03:30
first-time-state.js controllers - network - move default config out of first-time-state 2018-05-02 18:03:59 -07:00
inpage.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
metamask-controller.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
phishing-detect.js Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
ui.js Freeze Promise global on boot (#7309) 2019-10-24 06:54:32 -07:00

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples