Commit Graph

224 Commits

Author SHA1 Message Date
Tooru Fujisawa
afbd2956bc Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00
Tooru Fujisawa
3d13712ac2 Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:50 +09:00
Tooru Fujisawa
f2efd2a948 Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00
Chris Peterson
752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07: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
Aidin Gharibnavaz
822701ee34 Bug 377630 - Preventing filename disclosure, by putting downloaded files in a private directory. r=bz 2015-09-09 09:21:00 +02:00
Nicholas Nethercote
12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Dylan Roeh
f655040584 Bug 1163937 - Added forceSave function to DownloadIntegration and ensured that downloads removed in Sanitizer do not persist. r=margaret 2015-08-11 15:33:57 -05:00
Magnus Melin
5b81504ee1 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js when browser.helperApps.deleteTempFileOnExit true. r=paolo 2015-05-25 21:16:22 +03:00
Wes Kocher
a873030f3a Backed out changeset ee2d0bbca72c (bug 1159632) for windows xpcshell permafail 2015-06-07 18:57:58 -07:00
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
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
18b38ad706 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ganesh Sahukari
ebe8092b28 Bug 1009465 - Set the read-only attribute for temporary downloads on Windows. r=paolo 2015-04-01 23:43:28 +05:30
Jan Beich
f8d9ac731b Bug 1147845 - Drop redundant check to keep blocked download data on Tier3 platforms as well. r=jaws 2015-04-01 08:27:00 +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
Margaret Leibovic
e27ed6c68a Bug 1141550 - (Part 2) Add missing import. r=me 2015-03-16 15:57:49 -07:00
Margaret Leibovic
a1ffeb9b69 Bug 1141550 - Register an AsyncShutdown blocker to persist download changes. r=paolo 2015-03-16 14:40:00 -07:00
Paolo Amadini
484eb19127 Bug 1139942 - Define bug components for Downloads code. r=gps 2015-03-06 14:16:19 +00:00
Jared Wein
c135232ed1 Bug 1137909 - part 1: blocked downloads should keep data. r=paolo 2015-03-05 12:25:41 -05: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
Christoph Kerschbaumer
f6968283d0 Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads (r=paolo) 2015-02-02 20:09:40 -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
Ganesh Sahukari
cb44781c29 Bug 1114637 - Don't display "Unix error 1 during operation setPermissions" when a download terminates on Firefox for Android. r=paolo 2015-01-14 21:06:00 +00:00
Jared Wein
ca23c36960 Bug 1115717 - Warning dialog when exiting Private Browsing with active downloads could be made less technical. r=paolo 2015-01-15 16:04:34 -05:00
Hiroyuki Ikezoe
99dc943858 Bug 941063 - Add a property to get the size of the downloads data written to disk. r=smacleod 2015-01-13 13:41:46 +00:00
Jim Chen
60b2a7d4b1 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Steven MacLeod
0af8f0ab6b Bug 1068664 - Introduce API for downloads in a blocked state with file on disk. r=paolo
This new API allows consumers to call unblock() on the download if
they'd like to allow it. If they'd like to delete the blocked download's
partial data they may call confirmBlock(). Downloads also have a new
hasBlockedData property which will be true if the Download has blocked
data on disk.

DownloadIntegration now also allows for checking if handling downloads
in a blocked state is supported. As platforms support the new operations
on a blocked download they should update their implementation of this
check to keep the blocked download data on disk.

This also moves the reputation checking into the saver so it can happen
before moving the download to its final path - so we don't have possibly
dangerous files sitting around with their intended filename / extension.

If a Download did not use a part file and it fails the reputation check
we will always remove it to prevent dangerous files from existing with
their intended filename.
2014-12-08 16:31:03 -05:00
Wes Johnston
c3083aff70 Bug 901360 - (Part 3) Persist download history forever. r=paolo 2014-12-08 11:26:36 -08:00
Wes Johnston
39f3cd6d6a Bug 1063217 - Support a PDF DownloadSaver. r=paolo 2014-10-28 16:05:32 -07: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
Steven MacLeod
820d1e4940 Bug 1095506 - Clean up and rename kSerializableDownloadProperties. r=paolo 2014-11-10 20:58:20 -05:00
Steven MacLeod
9367611f98 Bug 1095506 - Serialize the error object when saving to the store. r=paolo
We now serialize the Download.error property when saving to the store so
that data about error conditions will survive a restart. This is
important for supporting blocked downloads with partial data that could
be unblocked.
2014-11-13 12:50:19 -05:00
Chris Peterson
9d7fef134d Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Magnus Melin
f8110da23a Bug 1074793 - Set more restrictive permissions for downloads in the temporary directory. r=paolo 2014-11-02 15:15:43 +02:00
Patrick McManus
3242a33df4 bug 1088850 - disable http/1 framing enforcement from bug 237623 r=bagder 2014-10-24 16:19:40 -04:00
wesj
829714379a Bug 1070488 - Add files downloaded in private browsing to the Android Download Manager. r=paolo 2014-10-08 21:55:00 -07:00
Wes Johnston
291c164cc5 Bug 1070086 - Move download integration code to its own class. r=bnicholson 2014-10-20 12:24:49 -07:00
Dave Hylands
3bf2f293f2 Bug 1072535 - Pt 1 - Have DownloadDone notify device storage when a new download is available. r=paolo 2014-10-14 13:50:57 -07:00
Andrew Halberstadt
11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Wes Johnston
defca3da11 Bug 816318 - Media scanner shouldn't run in private mode. r=mfinkle 2014-09-18 00:20:03 -07:00