Commit Graph

140 Commits

Author SHA1 Message Date
Ted Mielczarek
b3b937975b add progress to mochitest, let 'run tests' button switch to 'stop tests' when tests are running. r=jwalden
--HG--
extra : rebase_source : a3140848cc101fae96f355f4a44892b4e23c9850
2009-10-30 13:00:19 -04:00
Dão Gottwald
bea18b662b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Marco Bonardo
402e13d377 Bug 521233 - waitForFocus(callback) times out in browser chrome tests. use it in browser_bug304198.js, r=enn 2009-10-28 17:22:59 +01:00
Ted Mielczarek
bbcf4bdfc6 report file + line number in mochitest onerror handler pushing to CLOSED TREE for better failure analysis 2009-10-22 11:36:33 -04:00
Jonathan Griffin
f7c1aed1b9 Bug 521130. Add a --timeout parameter to runtests.py, and change the --timeout parameter in runreftests.py to use s instead of ms. r=ted 2009-10-16 13:23:30 -07:00
Chris AtLee
a75dc67f76 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-22 09:12:58 -04:00
Ted Mielczarek
0ceeb40442 Backed out changeset e5f6affc4c88 for breaking Mochitest
Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted
2009-09-21 09:09:41 -04:00
Chris AtLee
b5a3ff7b16 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-21 08:03:46 -04:00
Neil Deakin
f0c1f6396a Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Sylvain Pasche
c800105cb2 Bug 514667 - Let Mochitest run on IE
r=sayrer
2009-09-16 02:54:56 +02:00
Neil Deakin
53beea033a Bug 506175, make some more tests use waitForFocus, r=sdwilsh 2009-09-09 09:04:13 -04:00
Neil Deakin
8a82edfed6 Improve the waitForFocus code a bit and add a pile of logging to help determine the cause of tests hanging due to focus 2009-09-05 23:03:07 -04:00
Neil Deakin
e8d99bed80 Bug 513707, add a method to wait for load and focus events before starting some tests, r=sayrer 2009-09-03 15:30:06 -04:00
Nochum Sossonko
f519010287 Bug 512347 - synthesizeDrop from EventUtils doesn't work; Fix initDragEvent() calls
r=enndeakin
2009-09-01 00:52:31 +02:00
Serge Gautherie
bebd9804b6 Bug 511888 - SimpleTest/SimpleTest.js: report stack too in |window.onerror|; (Bv1) additional nits; r=rcampbell 2009-08-24 19:07:43 +02:00
Serge Gautherie
0f0a44c565 Bug 511888 - SimpleTest/SimpleTest.js: report stack too in |window.onerror|; (Av2) Do (the little) that can be done; r=rcampbell 2009-08-23 16:48:55 +02:00
Serge Gautherie
5dab950ca0 Bug 494397 - SimpleTest.js |window.onerror| calls |SimpleTest.finish()| while test is still running; (Bv2) Update interactive report, Use 'diag' parameter from |window.onerror|; r=rcampbell 2009-08-21 20:41:44 +02:00
Serge Gautherie
95645128d0 Bug 494397 - SimpleTest.js |window.onerror| calls |SimpleTest.finish()| while test is still running; (Av1) Tabs cleanup, Improve+Add error messages, Use executeSoon(); r=rcampbell 2009-06-19 20:10:20 +02:00
Serge Gautherie
94b4aa1278 Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Av1) Mochitest: remove '*** ' console output; r=rcampbell 2009-05-26 18:33:13 +02:00
Serge Gautherie
7ae5da599f Bug 483407 - Improve the "mochitest*" harness; (Bv1a) test.css: Whitespace cleanup, Sync' '#0d0' and ToDo supports; r=rcampbell 2009-05-16 01:14:12 +02:00
Serge Gautherie
d47fd76ada Bug 483407 - Improve the "mochitest*" harness; (Cv1b2) TestRunner.js: Improved timeout handling, Check for no checks case, More consistent updateUI() output; r=rcampbell 2009-05-14 16:17:48 +02:00
Serge Gautherie
799be9a884 Bug 483407 - Improve the "mochitest*" harness; (Av1a) SimpleTest.js: Report tests which did not actually check anything, Improve ToDo support; r=dbaron 2009-05-12 03:38:29 +02:00
Ginn Chen
a1c0b74a0c Bug 478845 Disable mochitest of test plugin if test plugin is absent r=ted.mielczarek, jwalden 2009-04-23 14:27:04 +08:00
Olli Pettay
d7bd5d2e6a Bug 454781 - Mochitest doesn't align the names of the testfiles and test results, r=sayrer 2009-04-21 14:25:22 +03:00
Boris Zbarsky
8eab85d08a Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
Jeff Walden
a7f955fcd4 Bug 469042 - Implement SimpleTest.executeSoon for non-Mozilla browsers. r=sayrer 2009-01-16 15:34:03 -08:00
Jeff Walden
3c5250619d Bug 470814 - TestRunner needs a feature guard before using document.hasFocus and document.activeElement. Since they were only being used in the belt-and-suspenders voodoo magic force-focus code, just disable the focus forcing when in browsers where we can't detect focus. r=sayrer, r=ajschult 2008-12-23 13:33:58 -08:00
Neil Deakin
224c9c5c42 Bug 456093, add drag simulation methods for testing, r=sayrer 2008-12-10 07:19:16 -08:00
L. David Baron
65e471ed74 Backed out changeset 957a4fed14af (bug 466104) due to leaks 2008-12-08 23:13:12 -08:00
L. David Baron
c82c191aec Make mochitests not build and search the results table when run inside the harness. (Bug 466104) r=sayrer 2008-12-08 21:47:34 -08:00
Vladimir Vukicevic
6a4c51d780 Bug 387132. Implement native canvas comparisons to speed up reftest running. r+sr=roc 2008-12-03 14:34:07 +13:00
Boris Zbarsky
757f481a59 Bug 462979. Fix synthesizeMouse to send events to the right place. r=enn, sr=roc, a=beltzner 2008-11-26 16:52:42 -05:00
L. David Baron
86cfaaf28b Backed out changeset eac2f8f3cd29 due to mochichrome timeout. 2008-11-25 15:46:01 -08:00
L. David Baron
5be1b4ba70 Make mochitests not build and search the results table when run inside the harness. (Bug 466104) r=sayrer a=tests 2008-11-25 13:27:54 -08:00
Shawn Wilsher
5dc62bd1a7 backout of changeset b0dc837c20fa and 73350927f5f1 due to test failures 2008-11-03 18:55:15 -05:00
Boris Zbarsky
30a5c2b827 Fixing mochitest to round, not truncate, coords when trying to dispatch mouse events relative to nodes which are positioned at fractional pixels. Reenabling the test that was failing because of the truncation 2008-11-03 10:43:00 -05:00
Olli Pettay
1b91f0c925 Backout Bug 454781 2008-10-31 15:26:17 +02:00
Olli Pettay
6aa8fa2333 relanding Bug 454781, Mochitest doesn't align the names of the testfiles and test results, r=sayrer 2008-10-31 13:42:53 +02:00
Dave Townsend
ba2bcfde7c Bug 462338: Make executeSoon widely available. r=robcee, r=gavin 2008-10-30 17:22:17 +00:00
Justin Dolske
292fef6b78 Backed out changeset fa432b23baa5. (Backing out bug 454781 to investigate mochitest leaks) 2008-09-24 17:15:39 -07:00
Olli Pettay
5930e73b33 Bug 454781 - Mochitest doesn't align the names of the testfiles and test results, r+sayrer (+fix for --chrome) 2008-09-20 20:23:35 +03:00
Markus Stange
d1428fa84e Bug 350471 - Reenable pixel scrolling (two-finger touchpad), r=smaug r=smichaud sr=roc 2008-09-17 13:27:19 +02:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
890930a050 Bug 452086. Shouldn't send keypress events with default action when keydown was prevented in the test harness, since the browser doesn't do it. r=enn 2008-08-25 14:31:38 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Boris Zbarsky
19cbde2211 Bug 449781. Toggling display on a subframe shouldn't give the subframe's document the same device context as the parent document. r=roc, sr=jst 2008-08-18 15:22:19 -04:00
Robert O'Callahan
3d9c20e3a8 Bug 378028. Add an 'axis' field to DOMMouseScroll events and use it to distinguish horizontal from vertical scrolling. r=smaug,sr=sicking, with help from Markus Stange 2008-08-13 15:08:59 +12:00
Ted Mielczarek
c2c281826e followup from bug 442125 - ensure focus test failing, but no other tests failing (on unittest VMs) 2008-07-27 16:31:22 -04:00
Andrew Schultz
f4bfa12dfc Bug 442125 ensure focus test failing, but no other tests failing (on unittest VMs). r=ted 2008-07-27 16:28:26 -04:00
Robert O'Callahan
7a5ee5e507 Back out bug 378028 due to mochitest failures. 2008-07-25 18:09:33 +12:00
Robert O'Callahan
52086cd743 Bug 378028. Add an 'axis' field to DOMMouseScroll events so that we can distinguish horizontal from vertical scrolling, and use it in trees and listboxes. r=smaug,sr=sicking 2008-07-25 16:07:43 +12:00
Andrew Schultz
52ed3b9562 Bug 442125: check Date.now() to try to diagnose focus failures. r=ted 2008-07-23 13:32:30 -04:00
Andrew Schultz
59a46bf951 Bug 442125: Attempt to fix focus test failures, add more info to message if it still fails. r=ted 2008-07-22 00:27:57 -04:00
Nick Thomas
30904f2e02 Bug 443090 - Unify unittest failures (browser chrome and mochitest part) p=ted.mielczarek, r=gavin.sharp 2008-07-16 17:43:15 +12:00
ajschult@verizon.net
745427ca3e Bug 431464: TestRunner should try to ensure focus, r=sayrer 2008-05-07 14:45:13 -07:00
ajschult@verizon.net
68c0a100d6 Bug 416074: TestRunner attempts to log after closing the log, r+a=sayrer 2008-02-06 23:18:45 -08:00
sdwilsh@shawnwilsher.com
03bc762353 Bug 411521 - EventUtils.synthesize* doesn't allow you to specify a window. r=Enn 2008-01-28 09:12:17 -08:00
jwalden@mit.edu
3eadf7c453 Bug 413789 - Remove "#" href from "Toggle passed tests" and "Toggle failed tests". This unbreaks tests which strictly rely on exact URL matches against the test window, in the case where you run the test, click a Toggle link, and then reload the page (which has a # tacked onto the URL before this patch). r+a=sayrer 2008-01-26 06:05:39 -08:00
jwalden@mit.edu
210b5b4714 Bug 413428 - Some tweaks to make the Mochitest harness cross-browser, where and when reasonable. r+a=sayrer 2008-01-21 19:54:20 -08:00
dolske@mozilla.com
664e9b1785 Bug 405942 - repeated Mochitest test timeouts can cause tests to take hours. r=sayrer 2008-01-15 14:23:44 -08:00
dcamp@mozilla.com
911a5b2bb9 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
bzbarsky@mit.edu
b9bda9c3db Fix the way mochitest finds the body. Bug 398347, r=sayrer 2007-10-02 19:10:26 -07:00
ted.mielczarek@gmail.com
1115c7c4ce bug 379327 - have mochitest print test filename in FAIL lines. r=sayrer 2007-09-04 06:02:34 -07:00
martijn.martijn@gmail.com
ccb3a57b29 Bug 383888 - mochikit panel for failed test description does not extend, r=sayrer 2007-09-02 05:17:23 -07:00
jwalden@mit.edu
b81fa71f44 Bug 384192 - Simplify the approach to supporting cross-domain Mochitests by moving all the code into runtests.pl.in (so the harnesses don't have to do anything except use the profile created for them). r=robcee, approval not needed for testing changes during yellow 2007-08-10 12:04:54 -07:00
flamingice@sourmilk.net
6b85fbfabb Bug 386810, Move quit-application-granted notification to nsAppStartup::Quit, r=benjamin 2007-08-09 20:05:53 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
44d466a5b4 Show diagnostics for todo tests. b=388690 r=sayrer 2007-07-18 21:59:26 -07:00
flamingice@sourmilk.net
62d803615d Bug 386002, Move tryToClose calls on shutdown, r=benjamin 2007-07-16 10:55:54 -07:00
jwalden@mit.edu
c1fc2bbd75 I think I figured out the problem with bug 384192; the code added to quit.js is also used in the browser tests, but it triggers an undefined-variable exception there, and I think the tests are getting killed by test timeout code that doesn't print a helpful 'tests timed out' message to give a little help determining the cause of the failure. We shall see... 2007-07-12 20:38:31 -07:00
jwalden@mit.edu
9f1af4acf4 Sigh; try to fix orange, bug 384192. 2007-07-12 17:58:25 -07:00
jwalden@mit.edu
bfd8039d8a Attempt to recommit part of the patch for bug 384192, in the hopes that this makes it easier to figure out what part of it is wrong. This part enables proxying for the added domains but doesn't actually use it. 2007-07-12 16:33:51 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
76bb7db098 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
rcampbell@mozilla.com
1e9ce9450a boosting timeout to try to clear qm-rhel02 2007-06-07 07:24:38 -07:00
enndeakin@sympatico.ca
21040db770 Bug 382256, add missing constant, r=sayrer 2007-05-28 13:21:28 -07:00
sayrer@gmail.com
58f156cce7 try increasing test timeout 2007-05-18 13:42:56 -07:00
enndeakin@sympatico.ca
0c9df0a662 Changes needed to support testing event simulation for bug 371260, r=sayrer 2007-05-11 09:15:26 -07:00
sayrer@gmail.com
5d3525af5d Increase timeout for mochitests. 2007-04-16 18:48:48 -07:00
dbaron@dbaron.org
4dc79491ad Add todo_is and todo_isnot functions. b=377721 r=sayrer 2007-04-16 18:06:42 -07:00
jwatt@jwatt.org
c82c6a087a Fixing bug 372098. HTML links with target="" should use the base target. r=Olli.Pettay@gmail.com, sr=jonas@sicking.cc 2007-03-26 06:19:33 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00