mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
d8022d7f17
In order to show download notifications, we need to initialize the DownloadNotifications module outside of browser.js. This patch moves initialization to BrowserCLH.js, and includes a refactoring of the `addObserverScripts` function. The "chrome-document-interactive" notification is used to trigger initialization because it is roughly equivalent to where we used to initialize the module inside browser.js. MozReview-Commit-ID: 8o1KZWRt69K --HG-- extra : rebase_source : a588a4e0933069bbbde00dc07c97141c889dfc81 |
||
---|---|---|
.. | ||
android | ||
locales |