Commit Graph

36 Commits

Author SHA1 Message Date
Ehsan Akhgari
382b6d4528 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrew Sutherland
77204452e3 Bug 947167 - Fix/improve debugging of test_downloads_pause_resume.html intermittent. r=aus 2015-03-12 22:27:46 -04:00
Chris Peterson
07ff92f355 Bug 1137987 - Remove nonstandard let block from dom/downloads/tests. r=aus 2015-02-27 18:31:21 -08:00
Andrew Sutherland
91dbc0ce1f 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
e64113a513 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
20d181268e Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Ms2ger
e99bd12a4b 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
5a3800bc64 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
a3b4387964 Bug 1038417 - Convert tabs to spaces in moz.build files. r=gps 2014-07-14 15:58:10 -07:00
Ghislain 'Aus' Lacroix
4e43971eb1 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
0afbc3b8e9 Backed out changeset f8c15df3a068 -- Need to re-land with correct commit message. 2014-05-21 14:07:51 -07:00
Ghislain 'Aus' Lacroix
dca4cb2f58 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
4ccc39ea3e 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
b3e02ed902 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
7f56c979e3 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Ghislain 'Aus' Lacroix
c9fe8d726d 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
f92cbcbc4d 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
6ad5bcf52e Bug 979446 - disable dom/downloads tests on B2G. r=RyanVM 2014-03-07 09:32:21 -05:00
Vaibhav Agarwal
9a59a5c96d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Reuben Morais
2a4b6ffa50 Bug 966141 - Route IPC messages manually in DownloadsAPI.jsm. r=fabrice 2014-02-19 11:43:28 -05:00
Ghislain 'Aus' Lacroix
0b88276744 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Ghislain 'Aus' Lacroix
dd08be1bd2 Bug 957592. Expose download API properties based on permission. r=bz 2014-01-24 11:53:05 -08:00
Carsten "Tomcat" Book
a925d8bba0 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
ade8d3ed93 Bug 957592 - Expose download API properties based on permission. r=bz 2014-01-22 11:51:13 -08:00
Reuben Morais
4fd504d480 Bug 960357 - Disable the Downloads API debugging spew by default. r=fabrice 2014-01-17 14:06:27 -02:00
Ryan VanderMeulen
9808ea1646 Backed out changeset 013f33d242e2 (bug 945323) for B2G mochitest failures. 2014-01-16 12:12:07 -05:00
Ghislain 'Aus' Lacroix
5c1195a4d5 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
f7faabc65e 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
9995d5f1fc 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
42494df964 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
f35c8c0521 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
e7ac45f0cd Revert the backout of bug 938023 (changesets 19fbd3fb0373:8146150d4df8) 2013-12-20 13:43:46 -08:00
Ms2ger
aae32a4ae5 Backout bug 938023 (changesets 19fbd3fb0373:8146150d4df8) for missing review. 2013-12-20 11:37:27 +01:00
Ghislain Lacroix
fb94306f7a Bug 938023 - Download API (Asynchronous Responses for API Tests). r=fabrice, gwagner 2013-11-27 23:18:17 -08:00
Fabrice Desré
5c8a818f7a Bug 938023 - Implement the download API : Part 3, tests. r=auswerk 2013-11-27 23:18:12 -08:00
Fabrice Desré
619c5db6bd Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00