Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Geoff Brown
4c4e90bfa9
Bug 1410017 - Skip xpcshell test_subprocess_getEnvironment.js on coverage builds; r=me,test-only
2017-10-19 14:06:14 -06:00
Greg Mierzwinski
c93a5aef8d
Bug 1400728 - Disable 'test_subprocess.js' on linux64-jsdcov. r=jmaher
...
This patch prevents the test 'toolkit/modules/subprocess/test/xpcshell/test_subprocess.js' from running on linux64-jsdcov in the xpcshell suite.
MozReview-Commit-ID: 3dOyN9eSVer
2017-10-08 21:56:56 -04:00
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
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
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
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
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
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
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
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
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
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
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