Commit Graph

36 Commits

Author SHA1 Message Date
Ehsan Akhgari
1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrew Sutherland
f11daae655 Bug 947167 - Fix/improve debugging of test_downloads_pause_resume.html intermittent. r=aus 2015-03-12 22:27:46 -04:00
Chris Peterson
d95a7455e3 Bug 1137987 - Remove nonstandard let block from dom/downloads/tests. r=aus 2015-02-27 18:31:21 -08:00
Andrew Sutherland
f4ea4e85aa Bug 825318 - Implement adoptDownload for mozDownloadManager, r=aus, r=sicking
Implement mozDownloadManager.adoptDownload as a certified-only API.

This also fixes and re-enables many of the existing dom/downloads tests
failures by virtue of cleanup and not running them on non-gonk toolkits
where exceptions will be thrown and things will fail.  This should
resolve bug 979446 about re-enabling the tests.
2015-02-24 11:06:59 -05:00
Birunthan Mohanathas
3d5cfb56eb Bug 1058101 - Flatten dom/downloads/src/ into parent directory. r=mccr8
--HG--
rename : dom/downloads/src/DownloadsAPI.js => dom/downloads/DownloadsAPI.js
rename : dom/downloads/src/DownloadsAPI.jsm => dom/downloads/DownloadsAPI.jsm
rename : dom/downloads/src/DownloadsAPI.manifest => dom/downloads/DownloadsAPI.manifest
rename : dom/downloads/src/DownloadsIPC.jsm => dom/downloads/DownloadsIPC.jsm
2014-08-27 10:12:12 -07:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Ms2ger
d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Alexandre Poirot
7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Birunthan Mohanathas
be38d67e26 Bug 1038417 - Convert tabs to spaces in moz.build files. r=gps 2014-07-14 15:58:10 -07:00
Ghislain 'Aus' Lacroix
404264f1e3 bug 1007965 - Add storageName and storagePath to DOM Download Object. r=fabrice, r=bz (for WebIDL changes) 2014-05-21 14:13:24 -07:00
Ghislain 'Aus' Lacroix
89a438d0eb Backed out changeset f8c15df3a068 -- Need to re-land with correct commit message. 2014-05-21 14:07:51 -07:00
Ghislain 'Aus' Lacroix
48e805c683 bug 1007965
bug 1007965

* Add storageName and storagePath to DOM Download Object.

r=fabrice
r=bz (for WebIDL changes)
2014-05-21 13:51:09 -07:00
Ghislain 'Aus' Lacroix
f377e0b7a5 Bug 992766 - Infer error when recieving NS_ERROR_FAILURE by going through device storage sanity checks, if device storage api is available. r=fabrice 2014-04-10 09:32:53 -07:00
Ghislain 'Aus' Lacroix
85bbd9301e Bug 982006 - Make GetDownloadDirectory return error for both SD card missing and SD card busy. r=bz 2014-03-31 12:10:44 -07:00
Bobby Holley
830107fc87 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Ghislain 'Aus' Lacroix
d8e84e5a6d Bug 960749 - Improve error messages when < and > are used in filenames. r=bsmedberg
* Unify OS_FILE_ILLEGAL_CHARACTERS
* Provide KNOWN_PATH_SEPARATORS in addition to FILE_PATH_SEPARATOR.
* Update nsExternalAppHandler to use KNOWN_PATH_SEPARATORS instead of
  FILE_PATH_SEPARATOR when removing path separators.
* Fix DownloadsIPC.jsm when compiling with MOZ_DEBUG (would throw on undefined download.id).
* Add test for stripping out illegal characters when downloading.
2014-03-20 14:05:40 -07:00
Ryan VanderMeulen
405ce84f77 Bug 979446 - Re-disable the dom/downloads tests on emulator builds as well. r=jmaher 2014-03-10 12:53:56 -04:00
Joel Maher
88f10aba3f Bug 979446 - disable dom/downloads tests on B2G. r=RyanVM 2014-03-07 09:32:21 -05:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Reuben Morais
37a5108f33 Bug 966141 - Route IPC messages manually in DownloadsAPI.jsm. r=fabrice 2014-02-19 11:43:28 -05:00
Ghislain 'Aus' Lacroix
1fa90496e3 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Ghislain 'Aus' Lacroix
cfe80e74d5 Bug 957592. Expose download API properties based on permission. r=bz 2014-01-24 11:53:05 -08:00
Carsten "Tomcat" Book
051714c230 Backed out changeset 786d44e03d8b (bug 957592) for static rooting hazard bustage on a CLOSED TREE 2014-01-23 14:22:24 +01:00
Ghislain 'Aus' Lacroix
4f6566a543 Bug 957592 - Expose download API properties based on permission. r=bz 2014-01-22 11:51:13 -08:00
Reuben Morais
508f2b8118 Bug 960357 - Disable the Downloads API debugging spew by default. r=fabrice 2014-01-17 14:06:27 -02:00
Ryan VanderMeulen
04f11192ce Backed out changeset 013f33d242e2 (bug 945323) for B2G mochitest failures. 2014-01-16 12:12:07 -05:00
Ghislain 'Aus' Lacroix
8bd663a91f Bug 945323 - Add mochitest to ensure that download attribute on anchor ('a') tag is respected by the DOM Downloads API. r=qdot 2014-01-15 15:01:06 -08:00
Ghislain Lacroix
bf522028ca Bug 959340 - Add updated serve_file.sjs to support testing resuming downloads and update pause_resume test to use it. r=gwagner 2014-01-13 14:14:34 -08:00
glacroix@mozilla.com
f9d0889611 Bug 945366 - [Download API] Accessing error attribute at download start fires NS_ERROR_UNEXPECTED. Relanding because of bad merge. r=gwagner 2014-01-08 16:21:46 -08:00
Jason Smith
535a7cd23f bug 945099 - Enhance basic download API mochitest with attribute checks. Relanding because of bad merge. r=aus 2013-12-09 22:55:27 -08:00
Gregor Wagner
2109ef9f29 Bug 948287 - [Download API] Accessing startTime attribute at download start fires NS_ERROR_UNEXPECTED in emulator. Relanding because of bad merge. r=fabrice. 2014-01-08 16:21:24 -08:00
Wes Kocher
1221083b0e Revert the backout of bug 938023 (changesets 19fbd3fb0373:8146150d4df8) 2013-12-20 13:43:46 -08:00
Ms2ger
91a6b6eff1 Backout bug 938023 (changesets 19fbd3fb0373:8146150d4df8) for missing review. 2013-12-20 11:37:27 +01:00
Ghislain Lacroix
fff47071c9 Bug 938023 - Download API (Asynchronous Responses for API Tests). r=fabrice, gwagner 2013-11-27 23:18:17 -08:00
Fabrice Desré
93bfbf3600 Bug 938023 - Implement the download API : Part 3, tests. r=auswerk 2013-11-27 23:18:12 -08:00
Fabrice Desré
2d148375b6 Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00