Commit Graph

672 Commits

Author SHA1 Message Date
Nicholas Hurley
1e8fe60386 No Bug - Fix js whitspace in h2 test and server. r=mcmanus
--HG--
extra : rebase_source : 6d89e846b108828e630c5e3aed8e6075bf533f77
2015-01-30 11:29:14 -08:00
Geoff Brown
0f3021e9c6 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Joshua Cranmer
4f74dc4614 Bug 934170: Make mach xpcshell-test work for comm-central, r=ted
--HG--
extra : rebase_source : d5ce19f18108c598aaa0a519e73a268f1dba91b5
2015-01-30 09:54:00 -06:00
Patrick McManus
ca5f74b06d bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Patrick McManus
5b201c8a70 bug 1124717 - 2/4 update CI to node-http2 3.1.0 to fix flow control issue r=hurley
a test for 1124717 ran into
https://github.com/molnarg/node-http2/issues/89 which is fixed in this update
2015-01-26 20:21:54 -05:00
Ryan VanderMeulen
ab1e320c97 Merge fx-team to m-c. a=merge 2015-01-26 16:34:12 -05:00
J. Ryan Stinnett
9b3a983e79 Bug 1103120 - Part 8: Server: Use promises and results in allowConnection. r=past 2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
de60148114 Bug 1103120 - Part 6: Server: Move allowConnection to authenticator. r=past 2015-01-26 12:47:13 -06:00
Patrick McManus
2dfcd7ae19 bug 1102923 - testing spdy server restart on unhandled exception r=test-only 2015-01-22 12:07:43 -05:00
Patrick McManus
d4a8b1d40d bug 1102923 - log node moz-spdy and moz-http2 output on shutdown r=ted 2015-01-23 12:09:47 -05:00
Patrick McManus
0587d8c35c bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Patrick McManus
d0d97ad7ef bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
--HG--
extra : rebase_source : 4c49f74dc4b7ed8cead65dc3c78a2c8ae5ddf5e3
2015-01-13 15:26:37 -05:00
Geoff Brown
506fb1c3fd Bug 1119583 - Use Droid instead of devicemanager for xpcshell mach; r=ahal 2015-01-12 14:33:43 -07:00
Patrick McManus
a12670699c bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Wes Kocher
1d86126a67 Merge mozilla-central to fx-team a=merge 2015-01-08 17:17:13 -08:00
Mark Hammond
bee2d8a0f5 Bug 1116708 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 10:00:05 +11:00
Mark Hammond
1738e10508 Backout 40b7a74be389 due to wrong bug number in commit message 2015-01-09 09:56:25 +11:00
Mark Hammond
f19948b19d Bug 1117001 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 09:53:34 +11:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Philipp Kewisch
abb9851cdb Bug 1084066 - plugins and extensions moved to wrong directory by mozharness. r=ted 2015-01-03 01:29:57 +01:00
Gregory Szorc
6644cc93eb Bug 930808 - Catch all exceptions when importing psutil; r=glandium
This is the same workaround applied in 7be399d00f9a (bug 908296). It
should stop |make check| from complaining on OS X.

--HG--
extra : rebase_source : 7cf18c8261d375437187a1c256b0b7f8ae0cbb30
extra : amend_source : 952eef1f385962005833c12f643ebb5ea02c93f3
extra : histedit_source : 285bda4330b2997afcc048ecc81f84173d422582
2014-12-23 21:34:01 -08:00
Patrick McManus
2bf4c5e7a9 bug 1003450 [1/3] - node-http2 refuses PRIORITY in idle state r=hurley
This only impacts the CI for h2-16

node-http2 as of at least 3.0.1 generates protocol error upon receipt
of PRIORITY frames in the IDLE state.. the http2 makes this clearly
legal in 5.1 Stream States -> idle  "Receiving any frames other than
HEADERS, PUSH_PROMISE or PRIORITY on a stream in this state MUST be treated as a connection error
(Section 5.4.1) of type PROTOCOL_ERROR."


---
 testing/xpcshell/node-http2/lib/protocol/stream.js | 2 ++
 1 file changed, 2 insertions(+)
2014-12-09 11:59:58 -05:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Mark Hammond
f02be754db Bug 1109563 - fix xpshell-test debugging. r=past 2014-12-11 19:13:12 +11:00
J. Ryan Stinnett
a0a3a60049 Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
Nicholas Hurley
f42d623474 Bug 1107267 - Advertise h2-16. r=mcmanus 2014-12-04 11:50:38 -08:00
J. Ryan Stinnett
6bbfd73703 Bug 1058997 - Part 3b: Update non-trivial security prompts. r=past 2014-12-01 22:55:56 -08:00
Mark Hammond
6aaa535030 Bug 809561 - Integrate xpcshell test harness with chrome remote debugging. r=past/chmanchester 2014-11-29 10:40:58 +11:00
Patrick McManus
cec693e1bc bug 1104987 - cleanup h1 instances in h2 tests promptly r=hurley 2014-11-25 16:24:02 -05:00
Andrew McCreight
c0b02a0607 Bug 1100695 - Wait for child to finish in test_child_assert XPCShell unit test. r=chmanchester 2014-11-24 11:34:03 -08:00
Chris Manchester
986e870090 Bug 1098121 - Disable xpcshell selftest for timeouts due to intermittent timeouts. r=ted 2014-11-13 12:15:41 -05:00
Nazma Panjwani
9bd7bfc683 Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal 2014-11-19 12:31:45 -08:00
Ryan VanderMeulen
9a56a97e41 Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures.
--HG--
extra : rebase_source : 0266cc0b2a6568ca653885745f381df8d6d167ec
2014-12-11 11:28:30 -05:00
ziyunfei
5f470bd4a1 Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2014-12-10 20:50:00 -05:00
Chris Manchester
3947bf29a0 Bug 1108781 - Log relative paths as test identifiers in xpcshell. r=ahal 2014-12-09 15:38:18 -05:00
Patrick McManus
b71548470c bug 1097944 - node-spdy 1.29.1 for spdy/3.1 updates 1/2 r=hurley 2014-11-14 20:04:19 -05:00
Nicholas Hurley
083547dbdc Bug 1094519 - Advertise h2-15 in addition to h2-14. r=mcmanus 2014-11-10 21:17:00 +01:00
Nicholas Hurley
2b6d3a17ba Bug 1049814 - Retry REFUSED_STREAMs on the same session. r=mcmanus 2014-11-06 09:47:00 -05:00
Chris Manchester
733221f8b6 Bug 1093834 - Ensure _TEST_NAME is passed to the child process in xpcshell's head.js. r=ted 2014-11-04 20:02:13 -05:00
Nicholas Hurley
e53d01ea81 Bug 1091263 - HTTP_1_1_REQUIRED support. r=mcmanus 2014-11-06 09:26:00 -05:00
Mark Hammond
ea7285f1c0 Bug 1094526 - remove extra \n chars from xpcshell test output. r=chmanchester 2014-11-06 14:56:32 +11:00
Nicholas Hurley
2def8d59cc Bug 1092287 - Update node-http2 to latest master. rs=mcmanus 2014-10-31 15:02:02 -07:00
David Lubin
ed80762e89 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Tom Tromey
d09e9bb441 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Chris Manchester
08900914f0 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Nicholas Nethercote
c034f4554a Bug 1076446 (attempt 2) - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Patrick McManus
bc4244f5a9 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Carsten "Tomcat" Book
721ef079ea Backed out changeset 835fbe63da4a (bug 1076446) for perma failure in 10.8 mozilla-inbound debug test xpcshell 2014-10-24 12:32:38 +02:00
Nicholas Nethercote
f999a06e8c Bug 1076446 - Make the DMD test work on Windows. r=glandium.
--HG--
extra : rebase_source : 7cc8d3b18b0539ff170a98fa1c5706ff46e20d32
2014-10-09 19:28:33 -07:00
Boris Zbarsky
427f80e0de Bug 1082843. Don't import Promise.jsm into the global scope in xpcshell tests. r=yoric 2014-10-15 00:42:54 -04:00
Nicholas Nethercote
2afe8789d3 Bug 1073312 - Test DMD on TBPL (Linux-only). r=glandium.
--HG--
extra : rebase_source : c35cc2bfd6720db35ece715dc7ef900ab5864409
2014-09-28 20:50:52 -07:00
Wes Kocher
914394a0f9 Merge m-c to inbound a=merge CLOSED TREE 2014-10-08 17:14:42 -07:00
Andrew Halberstadt
df3db8da66 Bug 1079651 - Enable strict manifests in xpcshell, r=chmanchester 2014-10-08 17:15:13 -04:00
Marco Bonardo
44bca121f1 Bug 969633 - xpcshell reruns "tests that failed when run in parallel" when only a single test was executed, r=gps 2014-10-07 16:30:30 +02:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Stephen Pohl
579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Nils Ohlmeier [:drno]
7204b2e48f Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Szu-Yu Chen [:aknow]
a1c83a9cee Bug 889737 - Part 10: Fix xpcshell tests. r=vicamo 2014-09-22 01:36:00 -04:00
Carsten "Tomcat" Book
d557d05d44 merge m-i to m-c a=merge 2014-09-12 15:07:38 +02:00
Sam Penrose
63696a25e7 Bug 1064973 - Add FxAccounts xpcshell tests to testing/xpcshell/xpcshell_b2g.ini. r=ryanvm 2014-09-09 09:32:03 -07:00
Alessio Placitelli
a7b1ef77b3 Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek 2014-07-02 13:52:00 +02:00
Birunthan Mohanathas
ce757c922b Bug 1058101 - Move dom/src/json/ into dom/. r=mccr8
--HG--
rename : dom/src/json/moz.build => dom/json/moz.build
rename : dom/src/json/nsJSON.cpp => dom/json/nsJSON.cpp
rename : dom/src/json/nsJSON.h => dom/json/nsJSON.h
rename : dom/src/json/test/mochitest.ini => dom/json/test/mochitest.ini
rename : dom/src/json/test/test_json.html => dom/json/test/test_json.html
rename : dom/src/json/test/unit/decodeFromStream-01.json => dom/json/test/unit/decodeFromStream-01.json
rename : dom/src/json/test/unit/decodeFromStream-small.json => dom/json/test/unit/decodeFromStream-small.json
rename : dom/src/json/test/unit/test_decodeFromStream.js => dom/json/test/unit/test_decodeFromStream.js
rename : dom/src/json/test/unit/test_decode_long_input.js => dom/json/test/unit/test_decode_long_input.js
rename : dom/src/json/test/unit/test_encode.js => dom/json/test/unit/test_encode.js
rename : dom/src/json/test/unit/xpcshell.ini => dom/json/test/unit/xpcshell.ini
2014-08-30 21:43:45 -07:00
David Rajchenbach-Teller
28e7ab4a33 Bug 1059329 - Remove spurious 'System JS : ERROR' in xpcshell. r=ted 2014-08-28 03:09:00 -04:00
Ryan VanderMeulen
fd52d7c394 Bug 1059405 - Double the per-test timeout for xpcshell tests on B2G. r=ahal
CLOSED TREE
2014-08-27 14:05:50 -04:00
Chris Manchester
d2519c2968 Bug 1056952 - Expose xpcshell's verbose option to xpcshell's mach_commands.py. r=ahal 2014-08-21 16:34:55 -04:00
Aseem Raj Baranwal
2bb668c702 Bug 1050877 - media.gmp-manager.url should mention GMP. r=jmaher 2014-08-26 01:53:47 +05:30
Geoff Brown
c3e96d2871 Bug 865006 - Re-order manifest and run a few more xpcshell tests on Android; no review
--HG--
extra : rebase_source : 0c43953ffac68f75036bd20183e3307befa449f9
2014-08-13 16:23:26 -06:00
Sylvestre Ledru
2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
J. Ryan Stinnett
ce8794da11 Bug 1040130 - Allow specifying a client cert for sockets. r=keeler, r=mcmanus 2014-08-07 16:32:00 -04:00
Georg Fritzsche
90fe4a3b19 Bug 1042161 - Set dummy URL for GMP addon updates for xpcshell tests. r=jmaher 2014-08-08 17:46:25 +02:00
J. Ryan Stinnett
ca5222ff32 Bug 1038991 - DevTools security cert generator. r=dkeeler, r=past, r=gps
--HG--
extra : rebase_source : 91340b1e422f1d12333073f000b4c8c96dde8134
2014-08-05 10:23:00 -04:00
Nicholas Hurley
41eb41171a Bug 1046892 part 2 - HTTP/2 draft 14 test updates r=mcmanus 2014-08-05 08:41:11 -07:00
Alessio Placitelli
788bd0a30d Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher 2014-07-28 12:04:00 -04:00
Ms2ger
33f3b92033 Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
William Lachance
ba2b4b855e Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Mike Shal
880e17ce86 Bug 1036557 - Fix 'make check' with no MOZ_OBJDIR; r=glandium 2014-07-07 19:55:51 -04:00
William Lachance
00eef00079 Bug 1036624 - Don't package mozdevice and mozinfo for xpcshell tests. r=ted 2014-07-09 17:06:25 -04:00
Chris Manchester
e56d4ffed3 Bug 1036639 - Report correct filename from xpcshell/head.js when using do_check_* assertion functions.;r=gps 2014-07-09 20:24:59 -04:00
Chris Manchester
455a63e73c Backed out changeset c33ec815962f (bug 1036639) for windows checktest failures. 2014-07-09 21:51:07 -04:00
Chris Manchester
f5c5f6ebf6 Bug 1036639 - Report correct filename from xpcshell/head.js when using do_check_* assertion functions.;r=gps 2014-07-09 20:39:18 -04:00
Ting-Yu Lin
dea8ddcd04 Bug 982560 - Fix mach fails to find tests in subdirectory. r=gps
Make the test paths relative to topsrcdir before passing them to
TestResolver. Also do not passing cwd to TestResolver since it will
filter out tests that do not live under the directory where the mach
command is executed.

Verification steps:
Execute a mach test command from any subdirectory. For example:
$ cd testing/tps/
$ ../../mach xpcshell-test ../../services/fxaccounts/tests/xpcshell/
$ ../../mach test ../../services/fxaccounts/tests/xpcshell/
2014-07-01 23:21:00 +02:00
Mike Hommey
bc0709dc9e Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Borting Chen
4622cf31b2 Bug 951976 - part 2, Test cases. r=gene 2014-05-12 18:55:49 +08:00
Jim Blandy
e07aaa8185 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
J. Ryan Stinnett
ef7573dfb1 Bug 975591 - Part 1: Add device discovery service. r=paul
--HG--
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/moz.build
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/tests/moz.build
2014-06-26 16:40:00 +02:00
Nicholas Hurley
6c7038956c Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -07:00
David Rajchenbach-Teller
70287d27d7 Bug 1023787 - Make Task.jsm stack rewriting play nicely with xpcshell and mochi tests. r=paolo, r=mikedeboer 2014-06-20 14:23:00 -04:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Patrick McManus
68ae085486 bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Wes Kocher
387f8bb39f Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
8c93fc6df0 Bug 920193 - mach xpcshell-test can now receive test objects; r=AutomatedTester
A subsequent patch will have another mach command dispatch into
`xpcshell-test`. To avoid redundant resolution of test paths, we now
support passing resolved test objects into the mach command.

--HG--
extra : rebase_source : 1eb0e7b1ef1e45ca163ddb152d1bbb7b6b4d02e6
2014-06-18 11:17:50 -07:00
Andrew Halberstadt
e60605718c Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
e34177291e Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
7704c45325 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Nathan Froyd
b6301f2928 Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher 2014-06-17 10:49:57 -04:00
David Rajchenbach-Teller
38b5a3bdca Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
Andrew McCreight
8f67db8df7 Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher 2014-06-14 16:43:46 -07:00
Alexandre Poirot
d322d65c3d Bug 1019244 - Do not throw on exception handling during xpcshell tests. r=ted 2014-06-02 15:09:00 -04:00
Bevis Tseng
62848907b3 Bug 1012621 - Part 2: Move xpcshell related files into test/xpcshell sub-folder. r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/header_helpers.js => dom/mobilemessage/tests/xpcshell/header_helpers.js
rename : dom/mobilemessage/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_mms_pdu_helper.js
rename : dom/mobilemessage/tests/test_mms_service.js => dom/mobilemessage/tests/xpcshell/test_mms_service.js
rename : dom/mobilemessage/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/xpcshell/test_smsservice_createsmsmessage.js
rename : dom/mobilemessage/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_wsp_pdu_helper.js
rename : dom/mobilemessage/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell/xpcshell.ini
2014-06-03 11:17:05 +08:00