ffb85e63f7
This fixes a regression introduced by MDL-78324 in which the notification was being called before the promise had resolved. This change just reverts that.