Commit Graph

180 Commits

Author SHA1 Message Date
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
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Jeff Walden
00f6066393 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Serge Gautherie
f847bae546 Bug 427500 - Upgrade the copy of MochiKit used in Mochitest, to v1.4.2; (Dv2) Remove MochiKit r1174 tests.
r=ctalbert.
2010-05-01 14:02:03 +02:00
Jens Hatlak
1de548c31d Bug 554418 - "Enable synthesizeDragStart to specify coordinates" [r=enndeakin] 2010-03-24 10:33:00 -04:00
Serge Gautherie
a80090b84d Bug 427500 - Upgrade the copy of MochiKit used in Mochitest, to v1.4.2; (Gv1a) Explicitly test http://svn.mochikit.com/mochikit/tags/MochiKit-1.4.2/ (== r1480), make it run and pass.
r=ctalbert.
2010-04-16 16:50:56 +02:00
Serge Gautherie
6e4b64d225 Bug 427500 - Upgrade the copy of MochiKit used in Mochitest, to v1.4.2; (Fv1a) Explicitly test http://svn.mochikit.com/mochikit/tags/MochiKit-1.4.2/ (== r1480), add bare files.
r=ctalbert.
2010-04-16 16:50:56 +02: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
Ms2ger
63c2cf06cb Bug 368994 - move mochitest tests near the code they test in the tree; Removing moved files.
r=sayrer.
2010-02-10 02:15:36 +01: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
Marco Bonardo
bf01c04edb Bug 529860 - Provide a method to enlarge timeout for some browser chrome tests, r=gavin 2009-12-04 15:13:22 +01:00
Marco Bonardo
095a8b7e72 Bug 485269 - Add head.js and cleanup functions support to browser chrome tests, r=gavin 2009-11-23 22:32:27 +01:00
Marco Bonardo
364bf6fdec Bug 528469 - browser-test.js should ensure windows state between tests (further modified by gavin, r=me), r=gavin 2010-01-21 13:05:27 +01: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
Dave Townsend
403d145887 Bug 481406: Browser chrome harness should report console messages in the test log. r=gavin 2009-07-03 08:22:31 +01: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
Dave Townsend
ccfea9600e Backed out changeset ddd616e58309 from bug 481406 due to tinderbox shortlog
spam
2009-05-28 12:19:57 +01:00
Dave Townsend
d94a6cfe5e Bug 481406: Include console messages in the log. r=sdwilsh 2009-05-20 10:18:27 +01: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
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07: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
Mark Finkle
ba8c5a6408 Bug 484127 - Move browser_scope.js into browser/; r=gavin.sharp
--HG--
rename : testing/mochitest/tests/browser/browser_scope.js => browser/base/content/test/browser_scope.js
2009-03-19 15:57:55 +01:00
Dave Townsend
2072050607 Bug 475322: Browser chrome test harness shouldn't use a periodic poller. r=gavin 2009-02-25 14:27:32 -08: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
a8d0e67d8c 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:59 -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
myk@mozilla.org
37a6230f03 bug 413416: implement todo_is and todo_isnot for MochiTest browser chrome harness; r=gavin, a=beltzner 2008-01-25 15:33:17 -08:00
myk@mozilla.org
f5b3ae3038 bug 413418: make browser chrome MochiTest harness permit \|let foo = is; foo()\| just like other MochiTest harnesses; patch by Gavin Sharp; r=jwalden,myk; a=schrep 2008-01-25 13:29:11 -08:00