We believe popupNotifications.js has a memory leak because we create new popup widgets each time we show the popup, and since the OOUI popup widget doesn't have a destructor, we just remove the popup from the DOM.
We believe the simplest solution is to store an array of all popup Widgets, so that we don't reinitialize new widgets each time a popup notification is created
QA
Repeat QA we did on T334366
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T335153#8817510 |
| 2 | ✅ | T335153#8817510 |
| 3 | ✅ | T335153#8828699 |
| 4 | ✅ | T335153#8817510 |
| 5 | ✅ | T335153#8817510 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T335153#8848519 |
| 2 | ✅ | T335153#8848519 |
| 3 | ✅ | T335153#8848519 |
| 4 | ✅ | T335153#8848519 |
| 5 | ✅ | T335153#8848519 |








