1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/components/app/flask
Hennadii Ivtushok 72d2977e72
Warn about multiple MetaMask instances running (#13836)
* Add text warning on startup page

* Try to detect extensions with browser API

* Setup messaging between different versions of extension

* Cleanup

* Cleanup

* Simplify check for multiple instances running

* Fix a doc string + use webextension-polyfill

* Fix test

* Mock webextension-polyfill

* Mock correctly

* Catch error and show warning in both extensions

* Mock as promise

* Address comments

* Rename build ids

* Run detection code only if Chrome

* Add Firefox warnings

* Cleanup imports

* Update connection ids

* Run detection code for Firefox

* Add test

* Add missing await

* Update tests

* Cleanup

* Cleanup

* Improve testing

* Improve tests

* Log errors from sendMessage

* Cleanup

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-04-27 20:14:10 +02:00
..
experimental-area Warn about multiple MetaMask instances running (#13836) 2022-04-27 20:14:10 +02:00
snap-install-warning Update snap install warning per designs and fix for popover component (#13844) 2022-03-07 10:32:09 -05:00
snap-remove-warning Dark Mode: Remove white, black and gray color tokens (#14186) 2022-03-24 13:27:41 -07:00
snap-settings-card Show snap version on install (#13931) 2022-03-14 18:40:21 +01:00
snaps-authorship-pill Updating colors in various components js and css (#13831) 2022-03-04 08:47:32 -08:00