Masatoshi Kimura
0af76969af
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Dan Banner
2e0390eae4
Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
...
MozReview-Commit-ID: 786dBxzN3Uc
2017-07-31 16:34:04 +01:00
Wes Kocher
20161e7382
Backed out changeset 856215476aa4 (bug 1386666) for eslint failures a=backout
...
MozReview-Commit-ID: FdO8WkzBvfj
2017-08-02 11:47:42 -07:00
Dan Banner
09b858b978
Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
...
MozReview-Commit-ID: 786dBxzN3Uc
2017-07-31 16:34:04 +01:00
Chris H-C
d212df97df
bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
...
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.
MozReview-Commit-ID: 2iBL00HVGyg
2017-07-24 09:52:26 -04:00
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
c30094cdf7
Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop.
2017-06-22 12:51:43 +02:00
milindl
e73275b164
Bug 850636 - add an option outSerializationDuration to measure the time for message serialization,r=Yoric
...
This changes the `Scheduler.post` method to check for options in the `args`,
and accordingly update it with the time it takes for running `Scheduler.worker.post`.
This also changes the `test_duration.js` to add another duration (serialization duration)
for the operations where `Scheduler.post` is called.
MozReview-Commit-ID: EGPeHfMYI1U
2017-06-03 21:44:37 +05:30
Florian Quèze
15feaa278a
Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop.
2017-05-12 14:55:27 +02:00
Florian Quèze
38c24463e4
Bug 1353542 - Cleanup the script output and fix tests, r=Mossop.
2017-05-12 14:54:05 +02:00
Florian Quèze
b2499a4c57
Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop.
2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
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