Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Masatoshi Kimura
dbd92543c6
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Andrew McCreight
70333838d1
Bug 1403959, part 3 - Manually fix some xpcom/ eslint failures and enable it. r=froydnj
...
Renames are because another location also defined that
variable. Unused definitions are eliminated.
The .eslintrc.js file makes eslint expect XPCShell global variables.
MozReview-Commit-ID: Fafm5o45bme
--HG--
extra : rebase_source : ab71132a60e90bd30f34766bd828b18dd608f8b3
2017-09-28 16:12:52 -07:00
Andrew McCreight
4ae455cdc5
Bug 1403959, part 2 - Automatically generated eslint fixes. r=froydnj
...
These were generated with |./mach eslint --fix xpcom| with the
.eslintignore and xpcom/tests/unit/.eslintrc.js changes from the next
patch.
MozReview-Commit-ID: 8pKkICSK3JQ
--HG--
extra : rebase_source : bbc98050928f27160d8ca63d38aa0c383be95878
2017-09-28 15:49:04 -07:00
Andrew McCreight
ae916ca971
Bug 1403959, part 1 - Remove non-standard conditional catch clause. r=froydnj
...
This is non-standard, and eslint can't parse it correctly, so remove
it.
MozReview-Commit-ID: EsfZSyoECB0
--HG--
extra : rebase_source : 561d194e0c466d98d054b2303916be196f983b1b
2017-09-28 15:39:06 -07:00
Greg Mierzwinski
a322b42abf
Bug 1394989 - Prevent test_nsIProcess.js from running on linux64-ccov. r=Aryx
...
This patch skips test_nsIProcess.js when it is running on linux64-ccov.
MozReview-Commit-ID: EZaAcKsy0UA
--HG--
extra : transplant_source : %DD%05C%CD3h%95e%B9%05%F8%7C%D8ZWOh%DBj%CA
2017-09-03 17:46:57 -04:00
Joel Maher
d5fab2cf6d
Bug 1394989 - Disable xpcom/tests/unit/test_nsIProcess_stress.js for coverage builds. r=froydnj
2017-08-31 15:38:49 -04:00
Masatoshi Kimura
f6b1dc1043
Bug 1375125 - Fix errors caused by mechanical replacement. r=froydnj
...
MozReview-Commit-ID: 1kOvLdeCJiR
--HG--
extra : rebase_source : 94b04b16ac5d951600d31d1cdb78b494d8275ad1
2017-08-05 08:21:55 +09:00
Masatoshi Kimura
8b713b2b0f
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
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Kris Maglione
8408f943c1
Bug 1383215: Follow-up: Fix straggler xpcshell test.
...
MozReview-Commit-ID: IhD2Kqtxtwu
2017-07-24 22:10:18 -07:00
Kris Maglione
cd5c5d6f7f
Bug 1383215: Part 5 - Update tests that relied on loading the same JSM from multiple URLs.
...
MozReview-Commit-ID: KEXGiMrauH7
--HG--
extra : rebase_source : c1b5a1e22c00bdc42cc7cdfae2f4718248c7965d
extra : histedit_source : 968e9daffc7505853aac4b892178f27c3386aec1
2017-07-21 18:01:42 -07:00
Nathan Froyd
b28fcc5c4b
Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
...
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Stephen A Pohl
630acd56de
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
Patrick McManus
72b59b72e3
Bug 1361601 - Remove nsSystemInfo.getProperty("host") r=froydnj
...
See also bug 1361495 - PR_SI_HOSTNAME is implemented in NSPR on
Windows as initializing winsock which can be janky. There don't seem
to be any users of this property, and it has tracker concerns anyhow -
so remove it.
MozReview-Commit-ID: S2AwzMUgYk
--HG--
extra : rebase_source : 552bed219913f40c002b807be3239d4666a5284b
2017-05-02 16:54:46 -04:00
Florian Queze
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Florian Queze
37f2343b9a
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
9e0ecf32c5
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
93a734a3ce
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Eric Rahm
3bec954d62
Bug 792209 - Remove nsISupportsArray. r=froydnj
...
MozReview-Commit-ID: G28VUoYj9Wj
2016-11-17 11:45:41 -08:00
Geoff Brown
7a0a9ab067
Bug 1325609 - Skip test_nsIProcess.js on linux, for frequent timeouts; r=me
2017-01-26 09:46:47 -07:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Benjamin Smedberg
58606875d8
Bug 1314955 part B - Remove the tests for binary-component which is no longer supported. r=froydnj
...
MozReview-Commit-ID: G7MATc8AGt1
--HG--
extra : rebase_source : f5f0886aab2b6981a12d9c32b120e65a2d022bc8
extra : source : a99c6ce96b6f25a4935bc41fe32841c9b94f1546
2016-10-26 11:34:32 -04:00
Iris Hsiao
66ac15df36
Backed out changeset a99c6ce96b6f (bug 1314955)
2016-11-16 15:19:42 +08:00
Benjamin Smedberg
89ac51de41
Bug 1314955 part B - Remove the tests for binary-component which is no longer supported. r=froydnj
...
MozReview-Commit-ID: G7MATc8AGt1
--HG--
extra : rebase_source : e83168f601f5dde167227ed5df502be54ba252fc
2016-10-26 11:34:32 -04:00
Sebastian Hengst
e3ad4a1224
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: xpcom. r=RyanVM
...
MozReview-Commit-ID: DUdntLdSp06
--HG--
extra : rebase_source : 9d4e380bc855e214d1863fb21af956183daad48a
2016-11-05 11:29:22 +01:00
Eric Rahm
ea799cdb96
Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj
...
This adds an intermediate interface, nsIArrayExtensions, that inherits from
nsIArray. This is necessary as nsISupportsArray implements nsIArray as well
so the methods could not just be addded to nsIArray. nsIMutableArray inherits
from nsIArrayExtensions and so any interface that works with an nsIMutableArray
can be updated to return an nsIArrayExtensions.
This will allow interfaces that currently return an nsISupportsArray to instead
return an nsIArrayExtensions and internally work with an nsIMutableArray.
Consumers of these functions will continue to be able to use
nsISupportsArray-like iteration even though they're now working with an
nsIArray.
MozReview-Commit-ID: 9uRjsJbg9Jp
2016-10-24 13:24:26 -07:00
Eric Rahm
3ee733ccd7
Bug 1310040 - Make nsSupportsArray implement nsIArray. r=froydnj
...
This makes nsSupportsArray implement the |nsIArray| interface. This will allow
us to replace references to nsISupportsArray as a param in our gecko interfaces
with nsIArray instead.
The goal is to remove this adapter (and nsISupportsArray) after a full release
cycle.
MozReview-Commit-ID: If7RiO5muIk
2016-10-18 11:52:08 -07:00
Gijs Kruitbosch
926b56b96c
Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
...
MozReview-Commit-ID: 4CENm3iqGUH
--HG--
extra : rebase_source : 2e208aa73d4c9d6827a11e3ef73fdeca6ed4a348
2016-09-30 17:18:41 +01:00
Wes Kocher
485474bedb
Backed out 3 changesets (bug 1279240) for leaks on Windows VM mochitests a=backout
...
Backed out changeset 4b69e32e3a83 (bug 1279240)
Backed out changeset d0d5180dc062 (bug 1279240)
Backed out changeset dc1b725b47d4 (bug 1279240)
2016-09-29 17:44:41 -07:00
Gijs Kruitbosch
c85dd42c4b
Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
...
MozReview-Commit-ID: 4CENm3iqGUH
--HG--
extra : rebase_source : f9932abcee9f923b58e964ade81f3428181707d5
2016-09-27 11:51:43 +01:00
Mike Shal
de1e7b8d59
Bug 1241976 - port INSTALL_TARGETS in xpcom/tests to moz.build; r=glandium
2016-01-21 21:06:50 -05:00
ISHIKAWA, Chiaki
be2b50a7f8
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
Christoph Kerschbaumer
71921c1eac
Bug 1232803 - Convert JS callsites to use open2 within xpcom/ (r=sicking)
2016-01-11 12:17:10 -08:00
Shu-yu Guo
1768759efb
Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm)
2016-01-06 16:02:16 -08:00
Geoff Brown
c0573a940f
Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher
2015-12-21 14:24:08 -07:00
Tooru Fujisawa
1619a85fbf
Bug 1217424 - Remove for-each from xpcom/. r=bholley
...
--HG--
extra : commitid : 6mnwhyI2pYK
2015-10-19 05:43:45 +09:00
sajitk
b564e1db32
Bug 996105 - Added tests for registry access. Fixed wrong condition in ReadStringValue code. r=bsmedberg
...
--HG--
extra : amend_source : 8b78a62b071a515f3652e77c2abd37561ebf3380
2015-10-14 11:17:07 +05:30
Nigel Babu
640106b762
Backed out changeset 7077589b174c (bug 996105) for failing its own tests ON A CLOSED TREE
2015-10-13 16:10:39 +05:30
sajitk
5491f00db4
Bug 996105 - Added tests for registry access. Fixed wrong condition in ReadStringValue code. r=bsmedberg
2015-09-27 17:16:00 +02:00
Hiroyuki Ikezoe
00b0491dd0
Bug 1167627 - Part 3: Use mozinfo in xpcom/. r=bsmedberg
2015-10-11 21:48:00 +02:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Tooru Fujisawa
5d153352bf
Bug 1207499 - Part 13: Remove use of expression closure from xpcom/. r=froydnj
...
--HG--
extra : commitid : DVEzMkDSqJL
extra : rebase_source : 6d705caf89dfde999ed144d702c8d9173844e86a
2015-09-23 18:42:20 +09:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00