gecko-dev/mobile
Jim Chen d8022d7f17 Bug 1393128 - 3. Initialize DownloadNotifications outside of browser.js; r=esawin
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
2017-08-28 23:56:44 -04:00
..
android Bug 1393128 - 3. Initialize DownloadNotifications outside of browser.js; r=esawin 2017-08-28 23:56:44 -04:00
locales bug 1392256, hyphenation dicts don't depend on locale, drop from repacks, r=gps,m_kato 2017-08-21 15:42:39 +02:00