mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
1282ed774e
During the initialization of the full-screen or popup UI, we attempted to close the notification popup (if it was open). This never worked (or at least hasn't in a long time). The method used to attempt closing the notification popup was `closePopup` from the `notificationManager`, which keeps track internally of the id of the notification popup window, and can close the window by using this id. However, this id is only set in the first place if the popup is opened with this specific instance of the `notificationManager`. The popup is never opened from the UI in practice; it's only opened from the background (which has its own instance of `notificationManager`). The popup id is never set for this `notificationManager` instance in the UI. It's not entirely clear that we'd always want to close the notification popup in this circumstance anyway. The user might want to open MetaMask alongside the popup to check something else. |
||
---|---|---|
.. | ||
_locales | ||
fonts | ||
images | ||
manifest | ||
scripts | ||
vendor/trezor | ||
home.html | ||
loading.html | ||
notification.html | ||
phishing.html | ||
popup.html | ||
trezor-usb-permissions.html | ||
unsupport.html |