Commit Graph

186 Commits

Author SHA1 Message Date
L. David Baron
a3f067c2ed Add method to synthesize mouse events at the center of elements. (Bug 595652) r=Mossop a2.0=blocking2.0:betaN 2010-10-11 11:03:12 -07:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Josh Aas
1200785239 Bustage fix for bug 596762, I merged patches incorrectly. a=josh 2010-09-27 17:56:38 -04:00
Scott Greenlay
92c12ef9d7 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-27 16:42:43 -04:00
Josh Aas
54d8736551 Back out patch for 596762, running the test plugin out-of-process on 64-bit Mac OS X is exposing a bug that causes a lot of intermittent orange. a=josh 2010-09-24 15:08:30 -04:00
Scott Greenlay
9ab1f355f5 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-24 10:32:02 -04:00
Josh Aas
a2b531c127 Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Scott Greenlay
4d41c8ea82 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-23 13:21:55 -04:00
Josh Aas
4c5979b1bf Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
c18a02206e Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-20 20:21:55 -04:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Jonas Sicking
6bae28a4f7 Test for bug 590812. r=jst a=test-only 2010-09-03 15:53:28 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Dão Gottwald
57558ad437 Bug 584995 follow-up: Make waitForFocus output appear in browser-chrome test logs again. r=enn
--HG--
extra : rebase_source : cf13b1c120930194e98d12c190a68654518f3f56
2010-08-16 22:10:32 +02:00
Dão Gottwald
608a67ff5a Bug 584995 - waitForFocus makes test analysis lie about the number of tests run. r=enn
--HG--
extra : rebase_source : 919daaea171f5e464b6363ba86c0c5202d5c66f1
2010-08-06 14:22:47 +02:00
Clint Talbert
d2fb12a794 Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron 2010-07-26 18:43:33 -07:00
Dão Gottwald
10e54c1b6b Bug 578301 - Clearly identify expected and actual results when tests fail. r=dbaron 2010-07-14 22:55:21 +02:00
Ted Mielczarek
17362ddaa6 bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-30 10:29:05 -04:00
Justin Dolske
157f21c04d Backed out changeset e112f68bc941 (bug 574357) due to test failures. 2010-06-29 22:45:30 -07:00
Ted Mielczarek
1ff7a5c880 bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-29 19:34:39 -04:00
Timothy Nikkel
862d66fc00 Bug 571640. Part 1. Enhance synthesizeDrop to take a source element to start the drag on. r=enndeakin 2010-06-25 16:51:17 -05:00
Joel Maher
7d77d349d6 Bug 567417 - bug to get mochitests running on fennec + e10s r=smaug,ctalbert 2010-06-24 13:30:50 -07:00
Jesse Ruderman
6c09de8976 Fix MozillaFileLogger bustage (https://bugzilla.mozilla.org/show_bug.cgi?id=570730#c9)
--HG--
extra : rebase_source : 1720f7e2e57fcebd2362e4f296b38ad463fd6484
2010-06-17 13:36:02 -07:00
Jesse Ruderman
880fe87fe3 Bug 570730 - automation.py should indicate which test crashed (or timed out) for reftests and mochitests. r=ctalbert 2010-06-10 18:46:18 -07:00
L. David Baron
e4e084864f Allow mochitests that don't require chrome privileges to run in a normal profile. (Bug 570328) r=jwalden 2010-06-08 18:44:31 -07:00
L. David Baron
ebb980ea52 Show value information for passing mochitests too. (Bug 570327) r=ted 2010-06-08 18:44:31 -07:00
L. David Baron
88a824e268 Make mochitest print the amount of time each test takes. (Bug 482162) r=ted 2010-06-08 18:44:31 -07:00
Paul O’Shannessy
33279d473c Bug 567870 - add waitForClipboard to SimpleTest [r=gavin]
This also updates the test for bug 556061 to use waitForClipboard.
2010-06-02 13:38:32 -07:00
Ehsan Akhgari
35d3466b87 Bug 542928 - Add some more debugging logs to waitForFocus in order to track down the browser-chrome random orange; r=enndeakin 2010-05-19 09:52:07 -04:00
Neil Deakin
a45e72c383 Bug 554873, improve waitForFocus to check for about:blank pages, r=mak 2010-05-18 09:31:03 -04:00
Neil Deakin
5be95f4ad7 Bug 527099, use waitForFocus to wait for the frameset window 2010-05-17 09:21:11 -04:00
Neil Deakin
e47ae5d46e Add some debugging to help debug 527099 2010-05-16 13:22:55 -04:00
Jens Hatlak
1de548c31d Bug 554418 - "Enable synthesizeDragStart to specify coordinates" [r=enndeakin] 2010-03-24 10:33:00 -04:00
L. David Baron
7ee6b6c13e Make mochitests not build and search the results table when run inside the harness. (Bug 466104) r=sayrer 2010-04-04 20:48:59 -07:00
Masayuki Nakano
bb7a62d1cf Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Marco Bonardo
434bcb00af Bug 553248 - waitForFocus in browser chrome tests uses SimpleTest ok(), rather than browser-test one. f=dao r=enn 2010-03-18 21:11:20 +01:00
Mounir Lamouri
139b8d7fff Bug 550701 - synthesizeDragStart should not fail with |expectedDragData| = null.
r=enndeakin.
2010-03-10 21:03:23 +01:00
Neil Deakin
853a05a89b Bug 545175, allow initializing drop effect in synthesizeDrop 2010-02-18 16:37:28 -05:00
Mats Palmgren
7744382398 Use GetExtremeCaretPosition() for all editable nodes, not just the doc root. b=512295 r=roc 2010-02-09 17:09:59 +01:00
Phil Lacy
39196a6523 Bug 462172: Drag downloaded items from download manager to folders r=enndeakin
--HG--
extra : rebase_source : d51cbf914cf05b7aeb9d1a6b8c8bc7b90d46d26a
2010-02-07 10:44:48 -05:00
Kyle Huey
87966b78d4 Backed out changeset 43a19419ec4b 2010-01-30 09:32:47 -05:00
Phil Lacy
b5bacc4e95 Bug 462172: Drag downloaded items from download manager r=sdwilish,enndeakin 2010-01-30 08:08:37 -05:00
L. David Baron
d0f535b30d Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted 2009-11-19 09:35:09 -08:00
Vladimir Vukicevic
b6a1710439 backing out 5ee85f7 due to test harness failures 2009-11-18 11:13:29 -08:00
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