Commit graph

21 commits

Author SHA1 Message Date
Mrinal Dhar
9c6bcee540 Bug 1113736 - Remove tail.js and add cleanup function call in head.js. r=paolo
--HG--
extra : commitid : KnJulAaqtPN
extra : rebase_source : b3e28bc8b0154751e94a88492207023b17b2064d
extra : amend_source : 120d225f23e4c88c3e6fcd02df42aa3e381b5b9e
2015-12-28 15:05:13 +00:00
Dave Townsend
90346debbf Bug 1229519: Fix download managers to pass eslint checks. r=mak
--HG--
extra : commitid : BtgdmZXVWxF
extra : rebase_source : 80617563b95509660bfab8d1094198dcba367b54
extra : amend_source : 8ebd6e5a65f9162d08fe3bcf7a83c03a35337683
2015-12-03 10:00:18 -08:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Johnston
6ceaddda93 Bug 1063217 - Support a PDF DownloadSaver. r=paolo 2014-10-28 16:05:32 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Raymond Lee
63db6db60b Bug 926736 - Returns path string for get directory methods in DownloadIntegration.jsm r=paolo 2013-10-23 10:04:55 +08:00
Raymond Lee
596b759086 Bug 917217 - Rename getUserDownloadsDirectory and getTemporaryDownloadsDirectory. r=paolo 2013-09-24 09:48:02 +08:00
Paolo Amadini
4773b3505a Bug 916433 - The task in the "tail.js" file of the Downloads API tests is not executed. r=felipe 2013-09-17 18:02:21 +02:00
Paolo Amadini
f2937c89c1 Bug 916430 - General Downloads API review. r=enn 2013-09-17 18:02:21 +02:00
Paolo Amadini
173eb975cd Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-17 18:02:20 +02:00
Ryan VanderMeulen
8ba7f243f2 Backed out changeset 4d44bc8da75c (bug 913110)
CLOSED TREE
2013-09-16 22:45:42 -04:00
Paolo Amadini
3982315eea Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-14 09:59:21 +02:00
Wes Kocher
83927f1292 Backed out changeset 6f0f765b2e1d (bug 913110) for leaking 2013-09-13 14:52:40 -07:00
Paolo Amadini
e44cf30ed7 Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-13 22:44:54 +02:00
Paolo Amadini
a78cae2649 Bug 913118 - Add a combined list of public and private downloads. r=enn 2013-09-12 21:20:30 +02:00
Paolo Amadini
38e7ec52c3 Bug 851454 - Define the format of "downloads.json" and of the parameters of createDownload. r=enn 2013-07-26 15:30:35 +02:00
Raymond Lee
1726edbc21 Bug 874808 - simpleDownload should accept string arguments and options. r=paolo 2013-06-11 17:10:48 +08:00
Raymond Lee
072f8b6aa7 Bug 852581 - Add methods to get the default downloads directories. r=paolo 2013-06-03 11:43:06 +08:00
Raymond Lee
880c93552b Bug 836439 - Handle downloads started in private browsing mode. r=paolo 2013-05-22 20:14:07 +08:00
Paolo Amadini
aac56c7c18 Bug 835880 - Implement the basic DownloadList object. r=enn
--HG--
extra : rebase_source : 15c2ba2132c87fdd633dc069a1e2ebef727c6392
2013-03-05 12:10:03 +01:00
Paolo Amadini
b16579ba8b Bug 825591 - Skeleton of asynchronous JavaScript API for downloads. r=enn,mak 2013-01-29 15:24:17 +01:00