Files
tubestation/browser/base/content/test/plugins
Hanna Jones db228913e4 Bug 1877416 - handle reentrancy when showing infobars via EncryptedMediaParent.receiveMessage r=reusable-components-reviewers,tgiles
`notificationBox.appendNotification` is now async, so in cases where we were receiving multiple "cdm-not-installed" messages in quick succession it was possible that the notification from the prior call hadn't actully been appended yet. This made it so that calls to `notificationBox.getNotificationWithValue` wouldn't return anything, and we would show the same message multiple times. This patch adds code to track which notification related messages are being handled to avoid re-appending the same notification.

Differential Revision: https://phabricator.services.mozilla.com/D200030
2024-02-01 15:27:12 +00:00
..