Commit Graph

63 Commits

Author SHA1 Message Date
Greg Mierzwinski
a9323edf9f Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.

MozReview-Commit-ID: 97VFkJmlwQn
2016-11-08 15:57:21 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Sebastian Hengst
6cf65ed900 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01:00
Phil Ringnalda
d068047bb2 Bug 1208199 - Skip test_osfile_async_setDates.js on b2g debug, where it fails constantly 2015-12-09 18:40:57 -08:00
Ryan VanderMeulen
347b4fc32b Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 20:56:16 -04:00
Ryan VanderMeulen
8ab8a759c4 Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 18:31:35 -04:00
Alessio Placitelli
fe7386067a Bug 1164822 - Add xpcshell test coverage for |OS.File.remove| ignoreAbsent flag. r=Yoric 2015-05-19 14:10:11 -07:00
Ganesh Sahukari
c1ca4c818d Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Andrew Sutherland
c0834d1d61 Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread. This patch corrects the
queue management so races with killing are not possible. A test is added that
fails without the fix and passes with it. See the comments in the test and
test for further details. Also, the bug is nice.
2015-02-25 00:43:13 -05:00
Andrew Sutherland
20ebe06333 Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
Andrew Sutherland
1946b6892d Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
Andrew Halberstadt
11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Iaroslav Sheptykin
4623f4da73 Bug 1023685 - Support writing encoded zero-byte strings in OS.File.writeAtomic. r=yoric
Patch originally created by KeyboardFire <andy@keyboardfire.com>.
2014-09-23 06:50:00 -04:00
Paolo Amadini
a14291b5ec Bug 1023402 - API review for OS.File.setPermissions. r=Yoric 2014-07-09 14:26:41 +01:00
Zack Weinberg
77066ba5b1 Bug 1001849: expose general chmod, and chmod-to-umask, support in OS.File. r=yoric 2014-06-20 19:54:06 -04:00
David Rajchenbach-Teller
758de89605 Bug 1014484 - Fix 'toString is read-only' errors on B2G. r=froydnj 2014-06-09 08:26:00 -04:00
Ed Morley
87559a7bca Backed out changeset e28e73446d88 (bug 1018169) for Android & B2G xpcshell failures in worker_test_constants.js; CLOSED TREE 2014-06-06 11:59:22 +01:00
kushagra singh[:kushagra]
719cf5c6c1 Bug 1018169 - [OS.File] Write a test to check if OS.Constants is accessible from a worker. r=Yoric 2014-06-05 12:43:00 -07:00
kushagra singh[:kushagra]
4d67dc6ef1 Bug 991883 - [OS.File] Move test_constants from main_test_osfile_async.js to an xpcshell test. r=Yoric 2014-05-26 09:52:00 -04:00
kushagra singh[:kushagra]
1dda95cfa0 Bug 819068 - Implementing OS.File.queue. r=Yoric 2014-04-12 21:02:06 -04:00
Nils Maier
3481ba4240 Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
David Rajchenbach-Teller
a2f7a7adf0 Bug 961665 - Tests for OS.File.read. r=froydnj 2014-03-13 09:52:07 -04:00
Ryan VanderMeulen
8699cfbd9c Backed out changesets c6ca1aa3887a, d741e117a033, 1fd26e822e73, and 720962c9f993 (bug 961665) for build bustage and xpcshell failures. 2014-03-13 10:32:57 -04:00
David Rajchenbach-Teller
3e9f2a578b Bug 961665 - Tests for OS.File.read. r=froydnj 2014-03-13 09:52:07 -04:00
Peiyong Lin
dafb5d4d20 Bug 967507 - [OS.File] Add |path| for error-reporting. r=Yoric 2014-02-24 10:16:01 -05:00
Alessio Placitelli
689c681e73 Bug 924874 - Add OS.File.getAvailableFreeSpace for Windows and Linux. r=Yoric 2014-01-15 02:04:00 -05:00
Peiyong Lin
769ef8f6c3 Bug 965196 - [OS.File] Add an option |backupTo| to writeAtomic. r=Yoric 2014-02-06 15:10:08 -05:00
Gregory Szorc
2ee1ef9cfc Bug 963327 - Improve profile-dependent handling of OS.Constants.Path; r=Yoric
Many properties in OS.Constants.Path are dependent on the profile being
available. This patch improves their handling.

Previously, we had some repeated and boilerplate code for making
OS.Constants.Paths.<prop> a lazy getter. This patch eliminates the
boilerplate by iterating over the properties that need to be lazy
getters.

AppData and UAppData are now lazy getters.

test_profiledir.js has been rolled into test_path_constants.js.

test_path_constants.js now emits a warning when a comparison doesn't
test anything. This should help identify ineffective tests going
forward.
2014-01-24 11:34:30 -08:00
Ed Morley
257aa136ff Backed out changeset ad7fc270445d (bug 963327) for xpcshell failures on a CLOSED TREE 2014-01-27 17:19:01 +00:00
Gregory Szorc
c00bb93774 Bug 963327 - Improve profile-dependent handling of OS.Constants.Path; r=Yoric
Many properties in OS.Constants.Path are dependent on the profile being
available. This patch improves their handling.

Previously, we had some repeated and boilerplate code for making
OS.Constants.Paths.<prop> a lazy getter. This patch eliminates the
boilerplate by iterating over the properties that need to be lazy
getters.

AppData and UAppData are now lazy getters.

test_profiledir.js has been rolled into test_path_constants.js.

test_path_constants.js now emits a warning when a comparison doesn't
test anything. This should help identify ineffective tests going
forward.
2014-01-24 11:34:30 -08:00
David Rajchenbach-Teller
c68fbd941d Bug 916076 - Tests for OS.File telemetry. r=froydnj 2014-01-22 12:21:44 -05:00
Ryan VanderMeulen
ca494fa043 Backed out changeset 13bea55207f2 (bug 952997) for xpcshell orange. 2014-01-10 11:33:35 -05:00
David Rajchenbach-Teller
fd5dc954ed Bug 854169 - OS.File.{read, writeAtomic} support for lz4. r=froydnj 2014-01-09 17:10:05 +01:00
Nils Maier
011208a7f3 Bug 952997 - Fix OS.File large file support. r=Yoric 2014-01-10 08:15:37 -05:00
Dustin J. Mitchell
3db5fb625b Bug 803188 - Support converting between file paths and file:/// uris in OS.File. r=Yoric 2013-12-16 14:55:37 -05:00
Avinash Kundaliya
161e60bf87 Bug 897023 - [OS.File] Be smarter with functions that can fail with becauseAbsent/becauseExists. r=yoric 2013-11-15 21:46:59 -05:00
Ryan VanderMeulen
c3c4ed3717 Backed out changeset 3232989e79e7 (bug 897023) for mochitest-other failures. 2013-11-11 10:55:36 -05:00
Avinash Kundaliya
ffa216cce2 Bug 897023 - [OS.File] Be smarter with functions that can fail with becauseAbsent/becauseExists. r=Yoric 2013-11-11 09:02:13 -05:00
Ryan VanderMeulen
d21a3f3f4d Backed out 5 changesets (bug 854169) for Android crashes.
Backed out changeset 8898b6c66941 (bug 854169)
Backed out changeset 12cebd8b5669 (bug 854169)
Backed out changeset 844860e32631 (bug 854169)
Backed out changeset 4ede802f8dbb (bug 854169)
Backed out changeset ccae8b3f0a7d (bug 854169)
2013-11-08 10:52:02 -05:00
David Rajchenbach-Teller
b4171db1bd Bug 854169 - OS.File.{read, writeAtomic} support for lz4. r=froydnj 2013-11-08 09:16:05 -05:00
Chris Manchester
af4c9f68b4 Bug 885480 - Set becauseNoSuchFile on windows for osfile errors produced as a result of no such directory. r=yoric 2013-10-29 17:35:31 -04:00
Nils Maier
8b7cb8f596 Bug 924916: Part 4 - xpcshell tests for OS.File.setDates(). r=yoric 2013-10-28 05:42:00 +00:00
Nils Maier
f9c46e8aaf Bug 912457 - Expose async |flush()| in OS.File. r=yoric 2013-10-27 19:03:25 -04:00
Nils Maier
6ced290c9d Bug 924858 - Part 1: Add |append| mode flag to OS.File.open on Unix. r=yoric
To match previous behavior, this mode flag will default to |true|.
2013-10-27 08:03:16 -04:00
David Rajchenbach-Teller
0b0724d4dd Bug 927560 - Shutdown osfile_async_worker.js, companion tests;r=froydnj 2013-10-17 06:57:00 +01:00
Nils Maier
9036e98063 Bug 928239 - Fix pump_userland fallback in OS.File.copy. r=yoric 2013-10-21 06:50:00 +01:00
Marcos Aruj
1d9bda1ddd Bug 866571 - [OS.File] Add createUnique method. r=yoric 2013-10-16 08:21:39 -04:00
Nils Maier
d4e58ba289 Bug 926691 - OS.File API must preverse |bytes| options to .readTo() and .write(). r=yoric 2013-10-15 14:05:57 -04:00
David Rajchenbach-Teller
ae973fd312 Bug 918364 - Make exceptions more meaningful in OS.File. r=froydnj 2013-10-11 11:50:52 -04:00
Marco Castelluccio
6f59a8da37 Bug 923540 - Add a function to recursively remove directories. r=Yoric 2013-10-10 10:59:49 -04:00