Commit Graph
48 Commits
Author SHA1 Message Date
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
Doug Thayer a9560817aa Bug 1362786 - (1) Increase subprocess BUFFER_SIZE r=kmag
While 4KiB is a decently sized buffer, bumping it to 32 on my
machine reduced the time for getSymbolsFromNM from 12s to 8s. If
32 is too large for the typical use of this, then we can instead
just parameterize this so that we can specify as large a buffer
as we want for our use case.

MozReview-Commit-ID: 3wGpHzQ9uZ5
2017-07-21 10:20:36 -07:00
Andrew Halberstadt 86f21296a2 Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM
2017-07-26 09:08:07 -04:00
Johan Lorenzo 59e15376bf Bug 1380628 - test_subprocess_environmentAppend fails on the new taskcluster windows instances r=kmag
MozReview-Commit-ID: CI6WGeWwBGo
2017-07-17 10:57:19 +02:00
Kris Maglione 33660f2ebd Bug 1377180: Pass PATH environment variables with partial environment on Windows. r=aswan
MozReview-Commit-ID: JwqvmHJpFcL
2017-06-29 11:50:39 -07: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
Andrew Swan c724abde7f Bug 1338327 Handle .cmd files with spaces in subprocess r=kmag
MozReview-Commit-ID: 9zr97CyY5in
2017-06-12 14:51:32 -07:00
Kris Maglione 85deade3e6 Bug 1371548: Accept invalid stderr handles when spawning subprocesses. r=aswan
MozReview-Commit-ID: B8FKavo7ksT
2017-06-10 16:35:14 -07:00
Stephen A Pohl cb17e2c71d Bug 1364984 - Ensure that our sandbox and tests can handle temp directory paths using symlinks on macOS. r=haik,aswan 2017-06-07 20:40:58 -04:00
Kris Maglione 09b8043514 Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.

We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.

MozReview-Commit-ID: 75Z1yUHUmjy
2017-06-06 16:00:53 -07:00
Mark Banner cd26ab051f Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop
MozReview-Commit-ID: Hhm4YBansg1
2017-05-19 09:22:48 +01: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
Mark Banner 7945b07153 Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Kris Maglione 50019b2841 Bug 1352893: Handle non-UTF-8 data in Unix environment variables. r=mstange
MozReview-Commit-ID: 5aRVYQICc7O
2017-04-02 18:46:10 -07: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
Kris Maglione ec0ca49687 Bug 1340735 - Terminate process when failing to attach it to job group. r=mhowell
MozReview-Commit-ID: BVCPRFH6TV2
2017-02-17 15:30:24 -08:00
Kris Maglione 1654b2c3cc Bug 1321637: Fix execution of batch files with spaces in path. r=mhowell,aswan
MozReview-Commit-ID: 8Q3KFLnXEkl
2017-01-22 16:23:33 -08: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
Mark Banner ac52569fff Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6
2017-01-09 10:12:26 +00:00
Jared Wein b6817d7876 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: 1mhCWplknyN
2016-11-07 22:34:25 -05:00
Iris Hsiao d24e67dbe4 Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out 2016-11-10 14:53:46 +08:00
Jared Wein 0c41af265f Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: DnpVQRrG9Ec
2016-11-07 22:34:25 -05:00
Jared Wein 2dfc7371c2 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO
2016-11-08 15:14:19 -05: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
Kris Maglione 44c17906e3 Bug 1309351: Part 1 - Replace child_process/subprocess.js with a thin wrapper around Subprocess.jsm. r=rpl f=mhowell
MozReview-Commit-ID: 7r9pSC8v1T
2016-10-14 18:01:42 -07:00
Kris Maglione 4785d22520 Bug 1301246: Allow processes to break away from their job. r=mhowell
MozReview-Commit-ID: IFyK7HkQP35
2016-09-08 12:26:13 -07:00
Andrea Marchesini 5f8dfa9ba6 Bug 790919 - Don't dispatch close event in Workers, r=bkelly 2016-08-31 21:33:05 -07:00
Kris Maglione 3d244b2d86 Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R
2016-08-20 15:32:42 -07:00
Sebastian Hengst 124588ed8c Backed out changeset 64fc57e6ee84 (bug 1295867) for windows xpcshell failure test_native_messaging.js | test_native_app_shutdown. r=backout 2016-08-21 23:50:36 +02:00
Kris Maglione 645b0f8957 Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R
2016-08-20 15:32:42 -07:00
Kris Maglione d1cd3911ce Bug 1291199: Retry subprocess perf tests on failure. r=aswan
MozReview-Commit-ID: 9PDT9tcYFqf
2016-08-02 15:37:34 -07:00
Kris Maglione f778674fc0 Bug 1290598: Manage and terminate Windows subprocess trees as a single job object. r=mhowell
MozReview-Commit-ID: 80K5YyDWmn3
2016-08-03 09:39:19 -07:00
Jared Wein ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Kris Maglione bf1d63376b Bug 1276390 - Use blocking polling in worker to handle subprocess IO. r=aswan
MozReview-Commit-ID: KXqgCLnO7dR
2016-07-28 16:27:25 -07:00
Wes Kocher 70202903b0 Backed out changeset 48cff1c9b619 (bug 1276390) for xpcshell bustage CLOSED TREE 2016-07-28 16:03:23 -07:00
Kris Maglione bb7b5e9c9c Bug 1276390 - Use blocking polling in worker to handle subprocess IO. r=aswan
MozReview-Commit-ID: KXqgCLnO7dR
2016-07-27 15:14:57 -07:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Andrew Swan 1fe0784edd Bug 1280636 Call updatePollFds() on error on sentinel fd r=kmag
MozReview-Commit-ID: DCpxwsf65q0
2016-06-17 09:29:06 -07:00
Andrew Swan d88289f5f2 Bug 1270357 Add a test hook to Subprocess.jsm r=kmag
MozReview-Commit-ID: Or2EOAL1eC
2016-05-31 16:15:53 -07:00
Kris Maglione 7d3a70f858 Bug 1278733: Follow-up: Fix JSDoc errors in the subprocess module. r=bustage
MozReview-Commit-ID: 2NYydGYh0Xu
2016-06-08 12:34:23 -07:00
Kris Maglione edca17e5b0 Bug 1276386 - Prevent processes from inheriting extra file descriptors on Windows. r=mhowell
MozReview-Commit-ID: IFi2Z7sqaxW
2016-05-28 12:28:30 -07:00
Kris Maglione 21159a4535 Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
MozReview-Commit-ID: 6vl5xBTBXiF
2016-05-29 17:15:47 -07:00
Sebastian Hengst 3344303db0 Backed out 5 changesets (bug 1269501) for failing the added test_subprocess.js on Windows (didn't fold it into the last backout). r=backout
Backed out changeset 3e1d7c5d1a58 (bug 1269501)
Backed out changeset 167e407cb1fc (bug 1269501)
Backed out changeset 6438b11898cf (bug 1269501)
Backed out changeset 1cbbf940ec35 (bug 1269501)
Backed out changeset ed35c5f4d756 (bug 1269501)
2016-05-28 12:38:25 +02:00
Sebastian Hengst 85095f0437 Backed out 6 changesets (bug 1269501) for failing the added test_subprocess.js on Windows. r=backout 2016-05-28 09:42:40 +02:00
Kris Maglione 5922c1c7d7 Bug 1269501: Follow-up: Fix more win32 bustage that wasn't in the last try run. r=bustage
MozReview-Commit-ID: 1q2pivuzfKr
2016-05-27 16:14:25 -07:00
Kris Maglione ef4b11e013 Bug 1269501: Follow-up: Fix merge botch in Windows code. r=me
MozReview-Commit-ID: AcFdw486or9
2016-05-27 14:07:04 -07:00
Kris Maglione f6ec93d4de Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
MozReview-Commit-ID: 6vl5xBTBXiF
2016-05-25 18:29:05 -07:00