Commit Graph

244 Commits

Author SHA1 Message Date
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Tooru Fujisawa
785e901961 Bug 1338263 - Remove remaining legacy generator from toolkit/components/osfile/tests/xpcshell/. r=Yoric 2017-02-11 01:53:24 +09:00
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
Florian Quèze
f412bc04ab Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Tooru Fujisawa
d1032721fa Bug 1321229 - Remove legacy generator from toolkit/. r=Yoric 2016-12-01 18:12:15 +09:00
Carsten "Tomcat" Book
dc82446d4d Backed out changeset d6ec40f470fc (bug 1319854) 2016-11-28 15:56:37 +01:00
Florian Quèze
a4a92257aa Bug 1319854 - Follow-up to make the test_path.js xpcshell test not depend on files from other platforms, rs=bustage-fix. 2016-11-28 13:58:33 +01: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
Sumit Tiwari
fd000dad92 Bug 1309249: Add filepath to OS.File.read errors for lz4 decompression;r=Yoric
MozReview-Commit-ID: 3zeRnFYot69
2016-10-16 11:30:47 -04:00
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Mark Hammond
3faf36151d Bug 1303693 - OS.File.remove(filename, { ignoreAbsent: true }) throws when the parent directory doesn't exist. r=Yoric
MozReview-Commit-ID: HJml1cf430y
2016-09-20 10:22:15 +10:00
ISHIKAWA, Chiaki
9ee69e3ce0 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Shu-yu Guo
90b93e6d5b Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08: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
Valentin Gosu
78b2178312 Bug 1163028 - stop escaping [ and ] in toFileURI r=yoric 2015-11-02 13:54:59 +01:00
David Rajchenbach-Teller
acf85c0add Bug 1208475 - Using a safer date for test_iter_dir;r=yoric 2015-09-29 15:53:40 +02:00
David Rajchenbach-Teller
6c81ca3b27 Bug 1208199 - test_osfile_async_setDates.js doesn't need to handle pending/finished state manually;r=yoric 2015-09-29 11:53:30 +02:00
Tooru Fujisawa
33909699d9 Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs 2015-09-24 20:36:01 +09:00
Tooru Fujisawa
8624800172 Backed out changeset 55b45f61cfd2 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:27 +09:00
Tooru Fujisawa
c8e217312c Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs 2015-09-24 20:36:01 +09: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
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
Geoff Brown
e7ae18404c Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Christoph Kerschbaumer
3c253c09de Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07: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
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Tooru Fujisawa
d35a87ff47 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-23 13:41:10 +09: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
Jonathan Griffin
c4f9588ed3 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08: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
Christoph Kerschbaumer
aaeeb53bc0 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Phil Ringnalda
2912bc8d27 Back out 35e75bce4db4 (bug 1087744) for xpcshell bustage
CLOSED TREE
2015-02-10 23:05:42 -08:00
Christoph Kerschbaumer
28d1108bd8 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-10 20:49:49 -08:00
Christoph Kerschbaumer
abf865d742 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/osfile (r=yoric) 2015-02-10 20:49:36 -08:00
Jon Coppeard
9e76d394fb Bug 1077354 - Transfer buffers to OS.File methods rather than passing a pointer r=froydnj 2015-01-08 11:31:21 +00:00
Gaurav Rai
8f123d522f Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 +01:00
Carsten "Tomcat" Book
8e87439b26 Backed out changeset 48099863baec (bug 1075438) for add-on bustage 2014-10-29 12:57:14 +01:00
Gaurav Rai
f074feccc2 Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 -04: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
Wes Kocher
877afbd303 Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00