Commit Graph

403 Commits

Author SHA1 Message Date
Joel Maher
414a3b5080 Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Martijn Wargers
bbbaffffd5 Bug 873149 - Report the slowest test in mochitest, r=ted
--HG--
extra : rebase_source : a5da51081c9460c12a2366387acba095681bdca5
2013-06-14 02:03:48 +02:00
Masayuki Nakano
04c0fc2c90 Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil 2013-07-25 15:09:29 +09:00
Masayuki Nakano
0f31ecd06d Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
Masayuki Nakano
a4499513a4 Bug 896362 part.2 Add tests for VK_ABNT_C1 and VK_ABNT_C2 r=jimm+smaug 2013-07-25 15:04:17 +09:00
Marco Bonardo
29442c3607 Bug 895376 - Make mochitest browser harness distinguish real timeouts from long-running tests.
r=gavin
2013-07-19 15:51:34 +02:00
Jim Chen
1289df4faa Bug 864040 - Move synthesizeSelectionSet to EventUtils.js and let sendString accept newlines; r=jmaher 2013-06-26 17:28:21 -04:00
Martijn Wargers
285bd5f42f Bug 880310 - Add some pushPrefEnv tests. r=jmaher 2013-06-15 01:21:57 +02:00
Gavin Sharp
03583a2fa5 Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher
--HG--
extra : transplant_source : %0A%C3%7F%B7%CFL%AD%2C%A2Y%5D51%AF%19%C1%C8%C5%5B%07
2013-06-16 11:19:47 -04:00
Felipe Gomes
00ec2e6c28 Bug 880555 - Fix --test-manifest option for non mochitest-plain. r=jmaher 2013-06-17 19:04:04 +02:00
Martijn Wargers
6a0cb9a8a4 Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin 2013-06-15 00:33:47 +02:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Gijs Kruitbosch
397e911113 Bug 877178 - Add an exception checking method to SimpleTest, r=robcee 2013-06-01 15:33:03 +02:00
Felipe Gomes
4476cb86f7 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00
Felipe Gomes
b342190fb5 Bug 875463 - Part 0. Remove plain-loop.html and fix --repeat for single tests. r=jmaher 2013-05-24 16:03:49 -03:00
Martijn Wargers
ddac9471c0 Bug 859401 - pushPermissions missing PROMPT_ACTION case. r=jmaher 2013-05-17 10:46:36 +02:00
Joel Maher
d4ed7431f7 Bug 868329 - Switch legacy cases of test disabling on Android/B2G using makefile ifdefs over to android.json & b2g.json. r=edmorley 2013-05-07 12:46:45 -04:00
Martijn Wargers
a9769a6dcf Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ted Mielczarek
baae199a7a bug 866641 - add registerCleanupFunction method to mochitest-plain. r=jmaher 2013-04-29 14:35:14 -04:00
Ryan VanderMeulen
ec038bd16e Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
927d1111f4 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Alexandre Poirot
adf4c58232 Bug 857073 - Simplify ChromeUtils usages. r=jmaher 2013-04-16 16:46:47 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Chan
c317a3c617 Bug 855192 - Fix MockPermissionPrompt scope. r=jgriffin 2013-03-27 13:16:39 -07:00
Joel Maher
88f3456d4d Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Bobby Holley
d8a04fedd9 Bug 790732 - Fix automation detection to handle Components shim. rs=mccr8 2013-03-28 14:26:02 -07:00
Ryan VanderMeulen
d86ac55e7c Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
79f15d62bf Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
L. David Baron
ced4573e23 Bug 850559: Make mochitests check that the test didn't leave the refresh driver under test control. r=ted 2013-03-15 14:40:37 -07:00
Mats Palmgren
3113ab0c9a Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
0d9d430864 Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
L. David Baron
77f8f568f9 Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted
This adds support for assertion checking in all mochitest suites except
for mochitest-browser-chrome.  The checking works much like it does in
reftest, except for the mechanism for annotating expected assertions,
SimpleTest.expectAssertions() (see its in-code documentation).

The support is initially disabled in that:
 (1) It doesn't cause the tests to report failure (and thus turn the
     tree orange).
 (2) It prints TEST-DETCEPXENU-FAIL/PASS instead of
     TEST-UNEXPECTED-FAIL/PASS (so that it doesn't show up in log
     highlighting).

The assertion checking only works within the test runner (which runs
multiple tests); it does not function when running only a single test.
2013-02-24 23:42:38 -08:00
L. David Baron
189f32e914 Bug 404077: Enable checking of assertions in mochitests. 2013-02-27 13:20:28 -08:00
Josh Aas
895a771a33 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-05 15:40:34 -06:00
Josh Aas
3482bb8b78 Back out fix for bug 647216 due to test failures. CLOSED TREE 2013-02-04 10:05:06 -06:00
Josh Aas
5d6290a834 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-04 09:00:42 -06:00
Matt Brubeck
2d1e41ef33 Bug 832101 - Allow EventUtils.sendMouseEvent to set pressure and inputSource [r=smaug] 2013-01-24 06:52:57 -08:00
Phil Ringnalda
a8d4016164 Bug 810705 - Reenable test_MochiKit-DOM-Safari.html on Linux now that bug 799295 should have fixed the crashes 2012-12-30 09:34:38 -08:00
Jeff Walden
e5142499c5 Make SimpleTest.js runnable in non-Gecko browsers again. No bug, r=jmaher over IRC
--HG--
rename : browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css => browser/themes/gnomestripe/downloads/downloads.css
rename : browser/themes/winstripe/downloads/allDownloadsViewOverlay.css => browser/themes/winstripe/downloads/downloads.css
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/mochitest/test_bug_461710.html
extra : rebase_source : a0c2241ee37c74d1df60cccc02b3b08fb7c68f58
2012-12-20 17:57:29 -05:00
David Chan
7c7a078529 Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
Georg Fritzsche
5beaeb5928 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Ehsan Akhgari
c4e74b26fa Bug 816406 - Disallow dragging a private tab into a non-private window and vice versa; r=dao 2012-12-02 15:57:06 -05:00
Ed Morley
f0f49ff1ad Bug 765200 - Shorten errors of type: "an unexpected uncaught JS exception reported through window.onerror - ..."; r=jmaher 2012-12-04 17:45:32 +00:00
Joel Maher
7931aa2846 Bug 811444 - panda boards magically reboot in the middle of the test. r=ted 2012-11-28 10:23:11 -05:00
Ehsan Akhgari
4705d26487 Bug 814519 - Fix a typo in SimpleTest/setup.js; r=ted 2012-11-27 14:02:08 -05:00
Peter Van der Beken
243151f563 Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz. 2012-11-19 11:59:13 +01:00