1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/shared/lib
Olusegun Akintayo 107525bb1d
Show error message if service worker did not load (respond to the UI) (#15774)
* Show error message if service worker did not load (respond to the UI)
after 1 minute.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Remove console.log

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* New Error message design

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix tests

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Use lastTimeStamp instead of keeping track of message ids

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Do not initial channe every second.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* New logic to check if SW is stuck

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-11-03 21:25:13 +04:00
..
error-utils.js Show error message if service worker did not load (respond to the UI) (#15774) 2022-11-03 21:25:13 +04:00
error-utils.test.js Show error message if service worker did not load (respond to the UI) (#15774) 2022-11-03 21:25:13 +04:00
fetch-with-cache.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
fetch-with-cache.test.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
metamask-controller-utils.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
storage-helpers.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
swaps-utils.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
switch-direction.js Use modern stylesheet selector (#15962) 2022-09-26 12:09:38 -05:00
token-util.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
transactions-controller-utils.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
ui-utils.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00