Currently, the re-population of notifications rely on SetTimeout to accommodate DOM manipulations. This is old-school and backward-compatible, but perhaps a bit ham-fisted, requiring a TIME.buffer to avert anomalies, especially if notifications are displayed in rapid succession.
A MutationObserver would be much more certain. This may also be a good time to consider the full implementation of transitionstart, transitionrun, transitioncancel, and transitionend (which are now more reliable than before).
Currently, the re-population of notifications rely on SetTimeout to accommodate DOM manipulations. This is old-school and backward-compatible, but perhaps a bit ham-fisted, requiring a TIME.buffer to avert anomalies, especially if notifications are displayed in rapid succession.
A MutationObserver would be much more certain. This may also be a good time to consider the full implementation of transitionstart, transitionrun, transitioncancel, and transitionend (which are now more reliable than before).