Commit Graph

356 Commits

Author SHA1 Message Date
Felipe Gomes
1516289a91 Bug 701607. Download annotations are not stored for files without a custom name. r=sdwilsh 2011-11-28 15:03:21 -08:00
Geoff Lankow
4c08575fe1 Bug 702744 - Use do_get_profile() instead of CurProcD in test_privatebrowsing_downloadLastDir.js; r=gavin.sharp 2011-11-20 11:12:06 +13:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Felix Fung
e337f8e76f Bug 397424 - Downloads cause high CPU usage. r=gavin
This addresses an issue with the download manager that can cause high CPU usage
when there is an active download.  The underlying issue is the frequency of
updates that the download progress listener receives.
Things changed:
- reduced the number of null checks in DownloadUtils.jsm's getDownloadStatus
  function by one (down to two from three).
- obtain and format strings from the nsIStringBundle.  This removes all the
  calls to String.replace in DownloadUtils.jsm.
- modifies the download manager back-end to update the percentComplete and size
  property on downloads before dispatching a state changed notification for
  downloads entering the DOWNLOAD_DOWNLOADING state.  This saves us two calls to
  setAttribute on downloads that we know how big they are, and saves us the same
  two calls to setAttribute for indeterminate downloads as well as not
  dispatching a ValueChange event on the progressmeter every time
  onProgressChange is called on the DownloadProgressListener.
- has nsDownload implement nsIClassInfo so we do not need to QueryInterface when
  going through the list of active downloads in both the download manager's UI
  and the browser's taskbar UI.
2011-11-03 15:25:55 -07:00
Geoff Lankow
702c5e844c Bug 672817 - Site-by-site last downloaded-to directory is not remembered when using unknown content-type dialog; r=gavin.sharp 2011-10-20 00:33:09 +13:00
Geoff Lankow
c8c427d8b9 Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Gavin Sharp
780751e5c9 Bug 657462: don't select the first item in the download manager automatically, r=dolske
--HG--
extra : rebase_source : d84c3ce6b80048c2a0c8c5dc8fb7302cc22d8349
2011-09-30 09:51:17 -07:00
Malini Das
841f72da21 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Kailas
4eaefa188e Bug 680812 - Excessive space between "280" and "KB" in download dialog; r=dolske 2011-09-12 10:24:02 -04:00
Kailas
d42acccd24 Bug 683258 - Size reported as -1 bytes when attempting download with no Content-Length header; r=dolske 2011-09-06 15:32:52 -04:00
Geoff Lankow
7ec43aed40 Bug 684107 - Remove private browsing code from DownloadLastDir.jsm after bug 679784 is fixed; r=ehsan 2011-09-03 22:02:32 +12:00
Kailas
f99ea6739e Bug 595888 - Show file size when attempting to download a file. r=sdwilsh, r=dolske, ui-r=faaborg 2011-08-15 12:53:03 -07:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Paolo Amadini
8343d7173f Bug 653261 - Add a function to format the date and time displayed in the Download Manager. r=sdwilsh sr=mconnor 2011-07-27 13:08:24 +02:00
Han Chang
3af25db115 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Mike Hommey
bae24b5649 Bug 671533 - Fix test_DownloadUtils.js with locales with a different decimal separator. r=edilee 2011-07-15 10:15:28 +02:00
Daniel Holbert
5493695d98 Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Geoff Lankow
2ebe71ef6e Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
Geoff Lankow
784ef07a99 Bug 536503 - Fix for test; r=gavin 2011-06-14 13:47:23 +12:00
Dão Gottwald
9875ff106c Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
Geoff Lankow
e0eb9adbb1 Bug 536503 - Last downloaded-to directory should be remembered on a site-by-site basis. r=gavin 2011-06-10 11:19:16 +12:00
Oonishi Atsushi
a32cac7d4c Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky 2011-06-04 05:31:07 +09:00
Geoff Lankow
a291f7c6a0 Bug 536503 - Fix for test 2011-06-14 13:47:23 +12:00
Ehsan Akhgari
47e21692fc Back out Dao's push because of build bustage 2011-06-14 00:17:10 -04:00
Geoff Lankow
96440a1169 Bug 536503 - Fix for test 2011-06-14 13:47:23 +12:00
Neil Rashbrook
d7722b313c Fix DOS line endings rs=sdwilsh
DONTBUILD
2011-05-26 20:29:31 +01:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Shawn Wilsher
4172b2fb34 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs
r=Mardak
2011-03-31 10:19:31 -07:00
Mitchell Field
20ae534ead Bug 595513 - Fix bustage. 2011-03-08 23:56:08 +11:00
Anas Husseini
db3e957f96 Bug 462064 - Download manager shows decimal digit for bytes when file below 100 bytes. r=edilee,sdwilsh a=mossop 2011-02-08 18:33:18 +01:00
Dão Gottwald
a205009db7 Bug 615515 - Set the whole item as the dragged element. r=enn 2010-12-07 12:59:15 +01:00
Philipp von Weitershausen
09bc85832e Bug 597852 - Internationalize decimal separator in Download Manager. r=Mardak a=beltzner 2010-10-08 17:57:04 +02:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Felipe Gomes
7f1b4c8e24 Bug 582315 - Fix DownloadTaskbarProgress checks which will fix intermittent orange, r+a=sdwilsh 2010-08-04 15:51:00 -07:00
Peter Van der Beken
ca73bb6e12 Fix for bug 571159 (Leak nsGlobalWindow with unknown-content-type dialog). r=sdwilsh. a2.0=blocking. 2010-07-30 16:48:57 -07:00
Felipe Gomes
2f25b339e8 Bug 582315. Intermittent orange in test_taskbarprogress_downloadstates.xul 2010-07-28 16:43:52 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00