Commit Graph
19 Commits
Author SHA1 Message Date
Jim Chen 6abb891f2d Bug 1367077 - 1. Move startup utility functions into GeckoViewUtils; r=snorp
Move `addLazyGetter` and `addLazyEventListener` utility functions from
GeckoViewStartup.js into GeckoViewUtils.jsm, so they can be used for
both Fennec and standalone GeckoView.

Also switch to "chrome-document-loaded" for loading
DownloadNotifications because that's later in the startup sequence.

MozReview-Commit-ID: 1caMtufkHGR
2017-09-14 17:50:54 -04:00
Jim Chen 22aa7aa2bf 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
2017-08-28 23:56:44 -04:00
Dan Banner 775694ef61 Bug 1385815 - Enable more whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: FuM6Neob0mC
2017-08-01 16:36:00 +01:00
Dan Banner 9300a9f43f Bug 1385815 - Enable whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 6B79zhklsYR
2017-08-01 16:34:11 +01:00
Sebastian Kaspari 1ca2c75fb8 Bug 1238139 - Show snackbar for completed downloads. r=ahunt,mcomella 2016-01-14 19:48:29 +01:00
Mohamed Hammoud 6e3c125e27 Bug 1156252 - 'Confusing UI in Cancel Download dialog box'. r=liuche 2015-12-30 12:59:00 +01:00
Alex Johnson 1fe9e839a9 Bug 1234148 - Replaced toasts in JS modules with snackbars. r=sebastian 2015-12-21 11:52:12 -05:00
Mark Finkle ba4ceb2d28 Bug 1194182 - Change DownloadNotifications.jsm to support newer selectOrAddTab r=margaret 2015-10-14 16:08:21 -04:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Margaret Leibovic 4d51965229 Bug 1134553 - Disable downloads in guest session. r=rnewman 2015-03-12 11:26:12 -07:00
Margaret Leibovic 0d450accb4 Bug 1130834 - Explictly cancel ongoing download notifications instead of trying to update them to be non-ongoing. r=wesj 2015-02-22 17:18:39 -08:00
Paolo Amadini d16d2efda7 Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
Margaret Leibovic bbd18cad02 Bug 1113092 - Don't create new download notifications for succeeded downloads. r=paolo,mfinkle 2014-12-22 14:28:39 -05:00
Margaret Leibovic 5d7333393c Bug 1113844 - Fix parameters in showInAboutDownloads call. r=mfinkle 2014-12-22 15:07:24 -05:00
Wes Johnston 2c67c9f80d Bug 901360 - (Part 5) Don't allow pausing downloads without partial data. r=margaret 2014-12-08 11:26:36 -08:00
Wes Johnston eb1be33ac3 Bug 901360 - (Part 4) Fix clicking on notifications. r=margaret 2014-12-08 11:26:36 -08:00
James Gilbertson b941cfa412 Bug 901360 - (Part 1) Use Downloads.jsm for download notifications. r=wesj 2014-12-08 11:26:31 -08:00
Wes Johnston 8879c06507 backout b56da878caed and 8487d4305be3 (bug 901360) from Aurora for regressions a=mfinkle 2014-05-16 12:13:50 -05:00
James Gilbertson 32b06ff55f Bug 901360 - Part1 Use Downloads.jsm for download notifications. r=wesj 2014-01-30 19:14:03 -07:00