1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/app
Mark Stacey 2a513990c2
Backport "Fix popup not opening (#8314)" (#8446)
This is a backport of #8314. Here's the original description:

MetaMask would sometimes get into a state where the notification popup
would never open. This could happen if the notification window was
closed shortly after being opened. After this happened, no popups would
show up until after the extension was reset.

This was happening because the background thought the popup was already
open. The variable it uses to track whether the popup was open or not
was being set to `true` immediately after the background asked the
browser to open a new window, before a handler was attached that could
respond to the window being closed.

Removing this line seems to solve the problem.

This line was added originally in #5437, which dealt with batch
transactions. Batches of transactions seem to work just fine without
this line though (from local testing), and I can't think of why this
would be required.

Closes #7051
2020-04-29 01:57:25 -03:00
..
_locales Add warning to watchAsset API when editing a known token (#8049) 2020-02-14 16:44:22 -04:00
fonts Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
images Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
scripts Backport "Fix popup not opening (#8314)" (#8446) 2020-04-29 01:57:25 -03:00
vendor/trezor Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
home.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
manifest.json Version v7.7.9 2020-04-28 15:40:28 +00:00
notification.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
phishing.html Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
popup.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00
unsupport.html Rename files 2018-05-29 12:44:37 +08:00