Commit Graph

1825 Commits

Author SHA1 Message Date
Geoff Brown
e2cd7191bd Bug 1030419 - Skip test_media_queries.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
3fb0d8f9ae Bug 1030403 - Skip test_reserved.html on Android 2.3 only; no review 2014-06-25 18:58:47 -06:00
David Rajchenbach-Teller
a82c78cd53 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
4d6a633bba 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
Andrew Halberstadt
e30a35bbc9 Bug 1028746 - Running mach mochitest-remote from gecko srcdir raises AttributeError instead of being helpful, r=gps, DONTBUILD, a=NPOTB 2014-06-24 13:47:19 -04:00
Vaibhav Agrawal
45213e82ee Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-24 12:02:07 -04:00
Carsten "Tomcat" Book
8be0d4bc98 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Vaibhav Agrawal
34b269b85c Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Andrew Comminos
156004b042 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-06-24 18:02:11 +09:00
Geoff Brown
8e59ee35ac Bug 1028918 - Re-enable test_MediaSource.html on Android 2.3; no review 2014-06-23 21:17:02 -06:00
David Burns
d5d64c921c Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
David Burns
a495f58aea bug 1024642: Add rebeccapurple to mochitest colors; r=jmaher 2014-06-23 10:24:08 +01:00
Geoff Brown
2fbcaa2826 Bug 1028918 - Disable content/media/mediasource/test/test_MediaSource.html on Android 2.3; r=me 2014-06-23 08:35:52 -06:00
Wes Kocher
04a521faea merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Wes Kocher
b8d6b378bf Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
88fb1d29b0 Bug 920193 - mach mochitest can now receive test objects; r=AutomatedTester
Similar to the previous patch, we now teach `mach mochitest` how to
execute test objects directly.

--HG--
extra : rebase_source : b69b5b74bcf6c81cff5deb28a1156ab2fcc691f7
2014-06-18 11:19:45 -07:00
Gregory Szorc
c15e536e73 Bug 938712 - Add --flavor to mach mochitest; r=AutomatedTester
`mach mochitest` now accepts a --flavor argument to limit execution to
tests of a certain flavor. Executing `mach mochitest --flavor=X` should
be equivalent to executing `mach mochitest-X`.

This paves the road to deprecating the various `mach mochitest-X`
commands.

--HG--
extra : rebase_source : 0f8370425f54a4ec86e7f668bcbff69362e017f7
2014-06-17 15:49:41 -07:00
Gregory Szorc
b3a110713e Bug 938712 - Implement mach mochitest; r=AutomatedTester
The `mach mochitest` command is now implemented. Given test path
arguments, it will identify mochitests of any flavor and run the
appropriate mochitest suite.

If tests from multiple suites are present, it will invoke each suite
separately. Although, the output in this mode isn't very friendly.

There are a number of enhancements that could be made to this command,
including the abilities to filter by flavor and sub-suite. These will
come in another patch.

--HG--
extra : rebase_source : 9be6000e6bb508ef0c980eda9f9ebe03a4c0f02a
2014-06-17 15:42:08 -07:00
Gregory Szorc
fce0336b8c Bug 938712 - Allow multiple instantiations of MochitestOptions; r=AutomatedTester
The MochitestOptions class has a class-local definition of the options
going into the optparse instance. The default values for these options
would be reused by subsequent consumers. In the case of the profile
path, the same temporary directory would be used. In the case of list
arguments, subsequent runs would inherit members added by earlier runs.

This patch should make subsequent runs free from the baggage of the
first.

--HG--
extra : rebase_source : c55a229e67515a9133377404344872ad0935a637
2014-06-17 15:38:13 -07:00
Andrew McCreight
4061f7761e Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Geoff Brown
7285ebc540 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Wes Kocher
0771859834 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
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Armen Zambrano Gasparnian
9c5e561048 Bug 989583 - Set self.testRoot and self.testRootAbs in only one place (runtests.py). r=jmaher 2014-06-17 09:50:16 -04:00
Armen Zambrano Gasparnian
31244d9e09 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
David Rajchenbach-Teller
7f063bb1ef Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
William Lachance
4b9480677f Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Gijs Kruitbosch
13038eca1c Bug 1022616 - mochitest chrome template uses broken path to SimpleTest.js, r=jmaher DONTBUILD because NPOTB
--HG--
extra : rebase_source : 5924ce540737491b5ad1baef3dda1c8256b4675b
2014-06-09 13:17:21 +01:00
Nathan Froyd
bd475bdbca Bug 988169 - display the list of mochitests again; r=jmaher 2014-05-22 10:32:32 -04:00
Joel Maher
15b2b6128b Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-03 11:19:28 -04:00
Geoff Brown
9f04be3a68 Bug 1019604 - Avoid mochitest cleanup failure following error; r=jmaher 2014-06-03 08:19:37 -06:00
Carsten "Tomcat" Book
b24097f49a Backed out changeset 86d0bd2a0233 (bug 992911) for android 2.3 bustage 2014-06-02 13:36:51 +02:00
Joel Maher
5ba56a3264 Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-02 06:54:23 -04:00
Joel Maher
4a01fb5fe9 Bug 1014503 - running devtools tests via mochitest-browser gives unhelpful error message. r=ted 2014-05-30 08:17:05 -04:00
Bobby Holley
63c08e78fa Bug 1015380 - Fix up SpecialPowers. r=gabor 2014-05-28 11:14:27 -07:00
Geoff Brown
c33b8ad3e9 Bug 979921 - Enable several mochitests on Android 2.3; r=dminor 2014-05-26 12:36:57 -06:00
Marco Castelluccio
a99a3096b2 Bug 1009809 - Use ManifestHelper::biggestIconURL in the desktop app installer. r=myk,jmaher
--HG--
rename : toolkit/webapps/tests/test_hosted.xul => toolkit/webapps/tests/test_hosted_icons.xul
rename : toolkit/webapps/tests/test_packaged.xul => toolkit/webapps/tests/test_packaged_icons.xul
2014-05-21 18:02:21 +02:00
James Graham
41dd2b2604 Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Geoff Brown
47a3f79da2 Bug 936226 - Update test manifests for Android x86; r=me 2014-05-12 18:39:24 -06:00
Christoph Kerschbaumer
e3eeb185e9 Bug 1008407 - test/navigation/test_bug344861.html fails on B2G ICS Emulator Opt when enforcing CSP 1.0. r=fabrice 2014-05-12 12:02:14 -07:00
Andrew Halberstadt
f310c7b7a3 Bug 957768 - Backout no longer needed --hide-subtests mochitest option (bug 937181 implemented the same thing but better), r=jmaher 2014-05-09 14:59:18 -04:00
Geoff Brown
64bf884a5c Bug 984523 - Update manifests for Android mochitest-gl; r=jmaher 2014-05-08 21:24:05 -06:00
Boris Zbarsky
de703c8590 Bug 990289. Make running a single mochitest run it in a way where the subtest results can be accessed. r=ted 2014-05-08 22:20:54 -04:00
Ted Mielczarek
159f8c076d bug 815002 - allow using loopback devices in WebRTC mochitests on Linux when available. r=jsmith,jmaher 2014-05-01 07:18:00 -04:00
Dão Gottwald
9155b33e7c Bug 805068 - Make browser chrome tests more self-contained by giving each test a new blank tab. r=ttaubert 2014-05-07 15:08:05 +02:00
Ehsan Akhgari
f54064f016 Bug 1006648 - Add a dummy SimpleTest.requestFlakyTimeout() function; r=ted 2014-05-06 20:06:50 -04:00
Gavin Sharp
c607f79fa9 Bug 896711: remove BrowserChromeTests.runWhenReady because it's being abused, r=dao/ttaubert/vporof 2013-07-27 17:32:40 -07:00
Gijs Kruitbosch
47a7b46794 Bug 1004410 - allow running mochitests against an arbitrary binary, r=jmaher
--HG--
extra : rebase_source : ba7e34aaffe2dd845b8717a34dc27c7f59983534
2014-05-01 11:05:36 +01:00
Vicamo Yang
120e5aad58 Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00
Myk Melez
01123e80fe Bug 1001681 - define Task to fix webapprt-test-chrome tests; r=jmaher 2014-04-26 14:05:46 -07:00
Masayuki Nakano
a47b044528 Bug 998188 part.5 Fix orange and improve EventUtils.js and ChromeUtils.js r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano
6de1b7019c Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Andrew McCreight
8da461bde5 Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Marco Castelluccio
799c1a2a9c Bug 1000512 - If a test cleanup function returns a promise, wait for it to be resolved before running other tests. r=jmaher 2014-04-24 16:34:00 +02:00
Martin Thomson
1239022073 Bug 907770 - Part 1: Making ssltunnel run for android and b2g mochitests. r=jmaher 2014-03-14 11:25:41 -07:00
Nathan Froyd
f359659e38 Bug 999407 - add --setenv option for mochitests run through mach; r=jmaher
DONTBUILD because NPOTB
2014-04-22 09:09:47 -04:00
William Lachance
a29417e3f7 Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Cameron McCormack
2e70ac08dd Bug 997598 - Don't strip leading white space from mochitest output lines when stack fixer is in use. r=wlach 2014-04-18 11:34:47 +10:00
Marco Castelluccio
1bd0344246 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
David Rajchenbach-Teller
7886ee3b33 Bug 991040 - Uncaught async exceptions in mochitests now cause warnings. r=ted 2014-04-17 16:23:23 -04:00
Vaibhav Agrawal
a54b880f82 Bug 912243 - Mochitest shouldnt chdir in __init__. r=jmaher 2014-04-16 10:29:39 -04:00
Manish Goregaokar
2e994e98d3 Bug 991348 - Give the ability to take screnshots on all test failures. r=jmaher 2014-04-12 04:23:00 +02:00
Randell Jesup
dec2b9db87 Bug 992436 - Force wakelock in B2G mochitests to reduce timeouts. r=jgriffin
CLOSED TREE
2014-04-07 14:39:16 -04:00
Ms2ger
dc2f3e243f Backed out changeset c63d8f19a893 for failures in Android mochitests. 2014-04-12 12:00:37 +02:00
Manish Goregaokar
7c01a6661a Bug 991348 - Support taking screenshots on all test failures in mochitests; r=jmaher 2014-04-12 11:08:34 +02:00
Tim Taubert
8eddc2ac1c Bug 995266 - Prevent mochitest-browser harness from leaking due to SimpleTest overrides. r=ted
CLOSED TREE
2014-04-11 17:57:59 +02:00
Ryan VanderMeulen
3a4e00b797 Backed out changeset df3c1971ecdc (bug 984930) 2014-04-11 12:54:56 -04:00
Joel Maher
6ef8e7088a Bug 984930 - Create mochitest-dt [temporarily turn off --subsuite]. r=mratcliffe 2014-04-10 15:00:56 -04:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Vicamo Yang
bca7e5f97b Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
Tim Taubert
09db36a7d7 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02:00
Phil Ringnalda
125cfa9c03 Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Geoff Brown
23ec106d71 Bug 986738 - End robocop tests with nsIAppStartup.quit(); r=snorp 2014-04-04 12:11:21 -06:00
Neil Deakin
27ad778ee7 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
Jim Chen
0d00aee3a9 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Geoff Brown
4ba9807bcb Bug 967704 - Skip a few more tests on Android 2.3 2014-03-31 21:30:07 -06:00
Bill McCloskey
f44f9436ac Bug 986163 - Fix webapprt tests (r=ted) 2014-03-28 15:50:28 -07:00
Geoff Brown
38f8f4b8a3 Bug 967704 - Skip more mochitests on Android 2.3 only 2014-03-28 11:39:14 -06:00
Nathan Froyd
ab21e84091 Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
df9137da98 Bug 987414 - Pass multiple test arguments to mach testing commands; r=ahal
Previously, mach xpcshell-test and mochitest-* were limited to a single
test "path" argument. This patch enables multiple arguments to be passed
in.

TestResolver in the build system has gained the ability to process
multiple paths in a single invocation. The mach commands have been
modified to utilize this new feature.

Only mach code paths that pass manifestdestiny.TestManifest instances
into the test runner can accept multiple arguments. This is because
there is no other way to pass a custom set of tests into the test
runner. If multiple test arguments are used but not supported, a warning
is emitted.

--HG--
extra : rebase_source : 1ce1328a969f654e7b43a7a0bdd15ed86f5ceb21
2014-03-24 16:19:57 -07:00
Gregory Szorc
4d0939f8dc Bug 987398 - Part 1: Run mochitests from manifests with mach; r=ahal
The mochitest mach commands now consult the all-tests.json file for
resolving the test argument/path. The mochitest runner has been modified
to accept a manifestdestiny.TestManifest instance instead of a path to a
manifest file. The mach commands construct an in-memory TestManifest and
pass it to the mochitest runner.

While I was here, I cleaned up some old JSON serializing code.

--HG--
extra : rebase_source : 886b13d4cb35992c132bc3051925424609a5fdf8
2014-03-24 14:35:06 -07:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Alexandre Poirot
7b3b1cc88a Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Gregory Szorc
465782db3b Bug 987372 - Try harder to stop child processes in mochitest runner; r=ahal
The mochitest runner could start a child process but not clean it up in
all cases. This patch ensures we always try to stop child processes
before exiting.

Ideally, things should probably be implemented as context managers or
the cleanup logic should live in a __del__. But, perfect is the enemy of
done. This simple approach appears to solve the problem in a manner that
isn't too invasive.

--HG--
extra : rebase_source : 685d23c31184808a12f9ee3571391381eda8c5fb
extra : amend_source : 780f36555cb94870dd063842aa226c27da8d95b0
2014-03-24 14:43:36 -07:00
Phil Ringnalda
9d692a7cba Bug 983948 - Temporarily increase the per-test browser-chrome default timeout to 45 seconds 2014-03-23 16:55:34 -07:00
Jonathan Griffin
2c813577a2 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Kevin Cox
89bcb7b19c Bug 958897 - ssltunnel lives if mochitest killed. r=jmaher
[PATCH] Made Mochitest.runApp() clean up after itself in case of exception
2014-03-23 10:20:32 -04:00
Masatoshi Kimura
f2e161d6fb Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Paolo Amadini
c873a36b5d Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02:00
Vaibhav Agrawal
5d191ae6fd Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Wes Kocher
0bdcbe2b41 Merge m-c to inbound 2014-03-25 20:21:17 -07:00
Brian Birtles
8039fdb1db Bug 986367 - Make paint_listener.js check for paint suppression; r=mattwoodrow
This patch adds an extra check for paint suppression when waiting for paint
events. This is because on some platforms (notably B2G) we can think all paints
have completed because paint suppression is in effect and as a result call the
callback too soon.

This patch use window.setTimeout(..., 0) to wait for paint suppression to finish
before preceding to check for pending paint events.

When the refresh driver is under test control, if we detect that paint events
are pending we need to force a refresh driver tick. This patch adds that tick.
I suppose we had previously never hit this situation before and never noticed
this.

This patch also rearranges the main loop so that early returns appear first and
calling the callback appears at the end.
2014-03-26 09:20:07 +09:00
Geoff Brown
5c92b15fcb Bug 967704 - Disable a few tests on Android 2.3 for intermittent failures 2014-03-20 17:16:40 -06:00
Carsten "Tomcat" Book
25e80771a2 Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Andrew Halberstadt
c5299fccd1 Bug 983262 - Remove obsolete b2g mochitest json manifests, r=jmaher 2014-03-19 11:23:29 -04:00