Commit Graph

64 Commits

Author SHA1 Message Date
Magnus Melin
c928e3cb15 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js. r=paolo
The failure occured when browser.helperApps.deleteTempFileOnExit was set to true.
2015-05-25 21:16:22 +03:00
Christoph Kerschbaumer
9ea833fd29 Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Georg Fritzsche
f1b09b984d Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Aime Galmi
60ced7a657 Bug 1132213 - Remove newChannel2 and asyncFetch2 calls in the "jsdownloads" folder. r=paolo 2015-03-22 01:38:01 +01:00
Hiroyuki Ikezoe
c5fc11787e Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04: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
Christoph Kerschbaumer
0987eed315 Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads - tests (r=paolo) 2015-02-02 20:10:07 -08:00
Ganesh Sahukari
89b61a06c1 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-27 16:07:20 -05:00
Ryan VanderMeulen
feab374f8c Backed out changeset dd417504346b (bug 1114594) for crashes.
CLOSED TREE
2015-01-27 15:17:39 -05:00
Ganesh Sahukari
fcdc7673f5 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Carsten "Tomcat" Book
c5e92c4e18 Backed out changeset d34e894a9ea2 (bug 1114594) for xpcshell and m5 test failures 2015-01-26 15:01:16 +01:00
Ganesh Sahukari
9071495fc0 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Tim Taubert
36c4079828 Bug 1113178 - Replace removeAllPages() in toolkit/components/jsdownloads/ r=mak 2015-01-17 19:05:31 +01:00
Sid Stamm
7327eccdb3 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Jim Blandy
39dc0c6097 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
Paolo Amadini
14dd343f32 Bug 983197 - Test that downloads fail with an HTTP/1.1 response shorter than the Content-Length. r=enn 2014-03-13 09:08:00 +00:00
David Rajchenbach-Teller
fcb4bae158 Bug 1010277 - Fixed uncaught async error in test_DownloadImport.js. r=paolo 2014-05-14 08:39:00 +02:00
Paolo Amadini
eb2124c3b9 Bug 941317 - Switch Downloads.jsm to use Promise.jsm. r=enn 2014-03-17 15:58:44 +01:00
Roberto A. Vitillo
a4e7d726ef Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00
Felipe Gomes
bb07be877f Bug 941099 - Default application handler is not correctly used when an alternate app handler exists. r=paolo 2013-11-28 00:57:05 -02:00
Monica Chew
3bdfc6726a Bug 895476: Integrate application reputation with download manager, disable remote lookups for application reputation (r=paolo) 2013-11-11 10:54:09 -08:00
Felipe Gomes
f0fcb2a78f Bug 906134 - Implement xpcshell tests for the DownloadImport module. r=paolo 2013-10-24 13:25:05 +02:00
Paolo Amadini
9c4f576bc7 Bug 918466 - Residual file left after canceling a download. r=enn 2013-10-10 16:42:03 +02:00
Neil Deakin
3ad9d165c0 Bug 908260, support 450 error for windows parental controls in new download api, r=paolo 2013-09-26 10:58:21 -04:00
Paolo Amadini
a346ed8df1 Bug 916430 - General Downloads API review. r=enn 2013-09-17 18:02:21 +02:00
Paolo Amadini
283389ef18 Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-17 18:02:20 +02:00
Ryan VanderMeulen
5713d2a4b8 Backed out changeset 4d44bc8da75c (bug 913110)
CLOSED TREE
2013-09-16 22:45:42 -04:00
Paolo Amadini
6dfc359840 Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-14 09:59:21 +02:00
Wes Kocher
88ad4e5aaa Backed out changeset 6f0f765b2e1d (bug 913110) for leaking 2013-09-13 14:52:40 -07:00
Paolo Amadini
a5435533cb Bug 913110 - Add a combined summary of public and private downloads. r=enn 2013-09-13 22:44:54 +02:00
Felipe Gomes
70cbe4d7c6 Merge m-c to fx-team. 2013-09-12 17:00:52 -03:00
Paolo Amadini
d5a5a1e0ce Bug 913118 - Add a combined list of public and private downloads. r=enn 2013-09-12 21:20:30 +02:00
Ed Morley
e6cb3191c2 Backed out changeset 270d7ca88c31 (bug 906134) 2013-09-12 16:24:57 +01:00
Felipe Gomes
0f474dd424 Bug 906134 - Implement tests for the DownloadImport module. r=paolo 2013-09-11 16:15:17 -03:00
Wes Kocher
f8cd93d794 Backed out changesets 28df44ca24f3, 6a5406d79364 (bug 906134) for m-bc bustage 2013-09-10 22:41:24 -07:00
Felipe Gomes
7c0a9d5b15 Bug 906134 - Implement tests for the DownloadImport module. r=paolo 2013-09-10 23:34:03 -03:00
Paolo Amadini
2a8e64ca16 Bug 908240 - Legacy downloads not executed by nsIHelperAppLauncher should be added to history. r=enn 2013-09-10 12:45:49 +02:00
Wes Kocher
024f5e7e15 Backed out changeset 493dd25e60c2 (bug 908240) 2013-09-09 16:27:49 -07:00
Paolo Amadini
c6ba87a11e Bug 908240 - Legacy downloads not executed by nsIHelperAppLauncher should be added to history. r=enn 2013-09-09 15:45:29 +02:00
Andres Hernandez
a23e02be5e Bug 905508 - Create test for download interruption prompts. r=paolo 2013-08-23 16:33:52 -06:00
Paolo Amadini
473095357c Bug 852868 - Disable channel decoding if the "Content-Encoding" header matches the file extension. r=enn 2013-08-19 17:18:25 +02:00
Andres Hernandez
9d4cb418c3 Bug 852964 - Add prompts for the quit-application-requested, offline-requested, and last-pb-context-exiting notifications r=paolo 2013-08-08 22:40:53 -06:00
Paolo Amadini
a2804f371c Bug 901563 - DownloadLegacySaver should move the ".part" file to the target. r=enn 2013-08-07 13:09:04 +02:00
Paolo Amadini
036dbbe631 Bug 900973 - Extend unit test coverage for action execution. r=enn 2013-08-03 13:04:39 +02:00
Paolo Amadini
a9944d5f42 Bug 836437 - Part 3 of 3 - Add the ability to resume a download from where it stopped to DownloadLegacySaver. r=enn 2013-08-01 14:37:06 +02:00
Paolo Amadini
faac309db2 Bug 836437 - Part 2 of 3 - Add the ability to resume a download from where it stopped to DownloadCopySaver. r=enn 2013-08-01 14:37:02 +02:00
Felipe Gomes
9efd266c8b Bug 852482 - Add methods to execute actions on completed downloads. r=paolo 2013-07-30 15:59:16 -03:00
Paolo Amadini
c9e7f364f2 Bug 836437 - Part 1 of 3 - Unify DownloadLegacy tests in preparation for resuming support. r=enn 2013-07-26 15:30:40 +02:00
Paolo Amadini
b2ae0d4b7e Bug 851454 - Define the format of "downloads.json" and of the parameters of createDownload. r=enn 2013-07-26 15:30:35 +02:00
Mihnea Dobrescu-Balaur
bf195d4c2b Bug 888544 - Use a dynamic port in jsdownloads/ xpcshell tests so they can be run in parallel. r=mak 2013-07-10 19:42:24 -07:00