Commit Graph

4265 Commits

Author SHA1 Message Date
Brian Birtles
827ab27605 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
Jonathan Griffin
e167be0896 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Kevin Cox
d31a5aa422 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
Phil Ringnalda
b973b5cc7f Bug 983948 - Temporarily increase the per-test browser-chrome default timeout to 45 seconds 2014-03-23 16:55:34 -07:00
Masatoshi Kimura
d61ef0a7db Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Geoff Brown
a3dd74fccb Bug 967704 - Disable a few tests on Android 2.3 for intermittent failures 2014-03-20 17:16:40 -06:00
Andrew Halberstadt
694cde8a09 Bug 981030 - Create platform specific mozharness files for storing test harness options, r=aki 2014-03-20 15:25:43 -04:00
Andrew Halberstadt
465cebd312 Bug 985403 - Refactor MarionetteBaseRunner.start_marionette and pass in symbols_path by default, r=mdas 2014-03-20 11:41:11 -04:00
Dave Hunt
74464705ff Bug 979512 - Add a command line option to split the tests and run a specified chunk. r=jgriffin 2014-03-20 09:27:29 -04:00
Vicamo Yang
9c9126f41e Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Carsten "Tomcat" Book
57df59943d Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Andrew Halberstadt
b8c0d05211 Bug 983262 - Remove obsolete b2g mochitest json manifests, r=jmaher 2014-03-19 11:23:29 -04:00
Ryan VanderMeulen
eafef4356a Backed out changeset a3fe19cdb618 (bug 938019) for robocop failures.
CLOSED TREE
2014-03-18 12:35:53 -04:00
Brian Hackett
bd10895115 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Bill McCloskey
1a25b5245b Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Chris AtLee
0ec77b9195 Bug 984061: Make package-tests safe with -j >1 r=glandium 2014-03-18 10:06:27 -04:00
Andreas Tolfsen
b7841434de Bug 979299 - Reduce fragility in real time test. r=dburns
Sometimes the clock.sleep(0.1) may take shorter than 0.1 seconds.  This
isn't a test about precision in Python, but rather that the SystemClock
wrapper works as intended and returns a somewhat expected value.
2014-03-17 17:40:16 -04:00
William Lachance
c14df5aaf7 Bug 978333 - Try to use localhost for marionette webserver if possible. r=jgriffin 2014-03-17 15:28:23 -04:00
Vikas Mishra
e8bfe96b8e Bug 959517 - Clarify connection error message, r=mdas 2014-03-17 22:19:35 +05:30
Vikas Mishra
cde0413d84 Bug 974891 - Move TestCapabilities to test_capabilities.py file. r=ato 2014-03-14 23:57:03 +05:30
Bill McCloskey
23c8d492c0 Bug 983921 - Rename test_SimpleTestGetTestFileURL.html so it doesn't get skipped (r=jmaher)
--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpletestGetTestFileURL.html
2014-03-15 08:43:35 -07:00
Henrik Skupin
4153824820 Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin 2014-03-14 21:13:38 +01:00
James Graham
832a85d6a3 Bug 983287 - Update the version of mozlog now structured logging has landed, r=wlach 2014-03-14 12:36:25 +00:00
Bill McCloskey
d960718b48 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
74f2b72f36 Merge m-c to inbound despite the CLOSED TREE 2014-03-13 19:58:47 -07:00
Wes Kocher
62d61f05a8 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Geoff Brown
d59833f735 Bug 983406 - Fix syntax error in androidx86.json; r=jmaher 2014-03-13 16:59:01 -06:00
Bill McCloskey
624ffda758 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
292a923c8e Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Wes Kocher
31686bf7cc Merge b2g-inbound to m-c 2014-03-12 19:51:10 -07:00
Dave Hylands
b5481d4b29 Bug 959591 - Add a test to verify functionality. r=fabrice 2014-03-12 14:15:05 -07:00
Ryan VanderMeulen
a01424d77d Merge m-c to b2g-inbound. 2014-03-12 11:33:22 -04:00
David Clarke
66e940bd07 Bug 981217 - Make the wifi connection more rubust during testing. r=ahal 2014-03-12 08:29:23 -04:00
Jonathan Griffin
f2a91a7b7d Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00
Vaibhav Agarwal
07841bb6fe Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Ryan VanderMeulen
c590b46cca Merge m-c to inbound on a CLOSED TREE. 2014-03-11 13:25:49 -07:00
Andrew Halberstadt
8096bbec31 Bug 974069 - Add 'manifests' back to DIRS in testing/mochitest, r=ted 2014-03-11 13:40:43 -04:00
David Burns
15ed3b7c7c Bug 981568: Handle if we get IOError if B2G crashes during a test run; r=jgriffin 2014-03-11 17:10:16 +00:00
Ryan VanderMeulen
0aeb8adf7a Merge b2g-inbound to m-c. 2014-03-08 01:23:46 -08:00
Andrew Halberstadt
fd8d3d9682 Bug 932362 - Create mach target for running b2g xpcshell tests, r=jgriffin 2014-03-11 10:08:25 -04:00
James Graham
98f6ece28e Bug 979338 - Document delete_session method in the python client API, r=mdas 2014-03-04 17:42:11 +00:00
Nathan Froyd
07feaa6918 Bug 979936 - delete unused `quiet' param-handling code in setup.js; r=jmaher 2014-03-05 12:39:46 -05:00
Geoff Brown
c291cdf85b Bug 967704 - Add android23.json to mochitest Makefile.in; r=jmaher 2014-03-12 09:42:00 -06:00
Vaibhav Agarwal
5f496eafb5 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Brian Birtles
d0c463eeb4 Bug 979161 part 4 - Add a non-flushing version of waitForAllPaints to paint_listener.js; r=mattwoodrow
This patch adds waitForAllPaints which does *not* call getBoundingClientRect
since that can cause a flush. Sometimes this flush is undesirable since it can
mask bugs in the code under test which should be performing this flush itself.
2014-03-10 13:47:12 +09:00
Brian Birtles
41c36539e0 Bug 979161 part 3 - Use SpecialPowers.getDOMWindowUtils in paint_listener.js; r=mattwoodrow
We can't just use SpecialPowers.DOMWindowUtils since otherwise we end up with
a DOMWindowUtils object that is bound to the parent object.
2014-03-10 13:47:12 +09:00
Brian Birtles
9fa0ffae79 Bug 979161 part 2 - Wrap long lines in paint_listener.js; r=mattwoodrow
And also simplify the code somewhat
2014-03-10 13:47:12 +09:00
Brian Birtles
d41886a897 Bug 979161 part 1 - Wrap up paint_listener.js so it doesn't leak globals; r=roc 2014-03-10 13:47:12 +09:00