Commit Graph

564 Commits

Author SHA1 Message Date
Aryeh Gregor
93bfe8f6cd Bug 735805 part 5 - Mochitests that run no tests should fail; r=jmaher 2012-03-16 16:07:16 -04:00
Aryeh Gregor
5bdbd66803 Bug 736529 - Calling waitForFocus() and then finishing before you get focus should cause the test to fail; r=jmaher 2012-03-19 13:09:48 -04:00
Bobby Holley
eddc1f4a42 Bug 731442 - Back out f9145dab4be9 (bug 718543) due to test failures. r=backout 2012-03-06 11:05:29 -08:00
Jonas Sicking
79eaf25209 Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Gavin Sharp
75a66c60be Bug 728627: simplify SpecialPowers pref observing, r=jmaher
--HG--
extra : rebase_source : 1c411dc0e8679cea3cc1f68ec792c36d19fbacfc
2012-02-18 17:33:18 -08:00
Joel Maher
9ef0e746bd Bug 725112 - Add an easy make command to rerun tests that failed the last time. r=ted 2012-02-20 09:59:04 -05:00
Bobby Holley
80cafe8e18 Bug 718543 - Preserve SpecialPowers wrapper identity with a WeakMap cache. r=mrbkap 2012-02-19 15:47:12 -08:00
Geoff Lankow
38a6e24cbf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part F, remove uses of nsIPrefBranch2 in testing/ and layout/tools/reftest/ ; r=bsmedberg 2012-01-17 15:01:25 +13:00
Serge Gautherie
e616109281 Bug 725045. (Av1) pushPrefEnv() param is "clear" not "remove". r=jmaher.
DONTBUILD (comment-only).
2012-02-07 22:05:18 +01:00
Gavin Sharp
43cb6910c2 Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher
--HG--
extra : transplant_source : %02%AC%FC%98%E8%23%FE%9A%3D%BC%DEck%16%9FP%CE%95%B3%AF
2012-02-01 10:11:53 -08:00
Gavin Sharp
c2834860a5 Bug 718203: don't allow drops of javascript: URIs on the home button, r=enndeakin, sr=bz
--HG--
extra : transplant_source : %ADP%C0%F8%8D%C4%A2v%BC%E5ZM%FC%D6BB%B7A%1E%07
2012-01-30 17:58:30 -08:00
Daniel Holbert
f50cf0013f Bug 722075: Fix $(NULL)-after-commented-out-lines in a mochitest Makefile. r=gavin 2012-01-30 12:11:41 -08:00
Reuben Morais
fff986379b Bug 722144 - Allow dblclick on EventUtils.sendMouseEvent. r=smaug 2012-01-29 05:01:00 -08:00
Jonathan Watt
6f83ff5139 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Dão Gottwald
09e6731932 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Serge Gautherie
5d9f44a50a Bug 720095. (Av1a-mochitest) Fix some strict warnings and nits. r=ted.mielczarek. 2012-01-24 17:38:46 +01:00
Dao Gottwald
706992fd3b Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell 2012-01-23 11:50:11 -04:00
Dão Gottwald
fcb73495b2 No bug - fix some browser chrome tests that pollute the global scope 2012-01-20 16:21:46 +01:00
Bobby Holley
9082784986 Bug 702353 - Implement Proxy-Based XPCOM Wrappers in SpecialPowers. r=mrbkap,ted 2012-01-18 19:10:04 -08:00
Ehsan Akhgari
abd7a3db55 Bug 668728 - Teach the mochitest harness to verify that the test calling finish is the same one that we expect it to be, to avoid drastic failures such as test_reftests_with_caret.html inadvertently navigating back, and skipping half of its tests; r=ted 2011-08-19 02:03:25 -04:00
Boris Zbarsky
a539a4b217 Bug 716549. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Masayuki Nakano
e4aa735c69 Bug 711903 part.1 EventUtils.synthesizeKey() shouldn't dispatch keypress event for modifier keys if the event type isn't specified r=smaug 2011-12-31 23:04:37 +09:00
Bobby Holley
d1c1a83512 Bug 713747 - Fix funky tests. r=bz
The conversion of checks for UniversalBrowserWrite to UniversalXPConnect caused these test fail, because they acquire UniversalXPConnect and actually doesn't want the results. In particular, they pass the security check in nsWindowWatcher::CalculateChromeFlags, which causes them to fail.

The first test doesn't actually need UniversalXPConnect, so we can remove it for free. The second one needs it, so we add some SpecialPowers goop to make it possible. It's not ideal, but it can go away when the wrapper in bug 702353 lands.
2011-12-30 09:35:39 -08:00
Cameron McCormack
7e764a2b55 Bug 710863 - Finish mochitests when they are run in single test mode. r=jmaher 2011-12-30 11:09:03 +11:00
Phil Ringnalda
2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Boris Zbarsky
6ebaa68f5c Bug 598482 part 24. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Masayuki Nakano
efe739e3f9 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Jan Varga
78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Masayuki Nakano
5ff35fa5ae backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Cameron McCormack
6f7be3b9fd Bug 670831 - Enable some mochitest sanity tests for uncaught exception handling. r=jmaher 2011-12-02 23:25:04 +11:00
Cameron McCormack
53cc0ba3ac Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher 2011-12-02 23:25:03 +11:00
Masayuki Nakano
a0d25e7690 Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan 2011-11-30 11:57:41 +09:00
Masayuki Nakano
360fdc970d Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan 2011-11-27 09:36:36 +09:00
Geoff Lankow
8ebd020946 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
L. David Baron
20e2347ed6 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-23 18:48:24 -08:00
Geoff Lankow
69999c8b43 Back out changeset 453772872eeb (bug 668710) for bustage 2011-11-20 01:10:40 +13:00
Geoff Lankow
7fc52fd3c9 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
Cameron McCormack
aef791b98e Bug 703230 - Remove mochitest waitForFocus() debug output. r=jmaher 2011-11-18 08:12:30 +11:00
Phil Ringnalda
47ec399c96 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
5a555c1957 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-15 17:02:01 +13:00
Cameron McCormack
04b6a02159 Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher 2011-11-12 22:06:54 +11:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Geoff Lankow
f3b073f77c Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Joel Maher
adc53be025 Bug 694976 - convert the rest of eventutils.js functions to use SpecialPowers. r=ted 2011-10-19 05:35:05 -04:00
Joel Maher
3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Ian Melven
879d1f5caf Bug 674255 - Add nsIObserverService to special powers, r=ted 2011-10-14 11:24:10 -07:00
Joel Maher
3d817f94dd Bug 693577 - port mockprovider.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
a6c0cdaff1 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
9da386ab63 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
0011350970 Bug 573735 - support waitForClipboard events in e10s. r=jdm,ted 2011-10-14 07:52:02 -04:00
Joel Maher
53d448d706 Bug 674323 - convert most eventutils.js functions to use SpecialPowers. r=ted, a=test-only 2011-10-14 07:52:01 -04:00
Joel Maher
2b0286f01d Bug 670897 - port waitForFocus to SpecialPowers. r=ctalbert,enndeakin; a=test-only 2011-10-06 10:51:03 -04:00
Joel Maher
bc68930aaf Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm 2011-10-06 10:51:03 -04:00
Joel Maher
30e9deddd9 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Malini Das
14aa3d77e7 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-30 14:54:10 -04:00
Joel Maher
0500abb2a0 Bug 687264 - add mochitest support for filtering tests. r=ctalbert 2011-09-26 07:41:17 -04:00
Boris Zbarsky
d2287e2ff1 Bug 677002. Back out the patch for bug 666643 because it disabled a bunch of tests. r=khuey 2011-09-23 12:27:18 -04:00
Malini Das
e5d27caad8 Bug 688052 - Disable permaorange Android tests for now; r=mbrubeck 2011-09-22 17:48:07 +01:00
Masayuki Nakano
6fecf30153 Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc 2011-09-22 18:17:41 +09:00
Malini Das
d89f164a12 Bug 677626 - Add a profiling test suite for mochitest [tests]. r=jmaher 2011-09-19 14:52:06 -04:00
Malini Das
be9aa36b26 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Matt Woodrow
50c2543763 Bug 682758 - Stop repr() trying to call match() on an empty Array. r=mdas 2011-09-01 11:35:04 +12:00
Malini Das
03b4348939 Bug 682028 - Rename the Mochitest 'loops' feature to be 'repeat'. r=jmaher 2011-08-29 16:14:33 -04:00
Malini Das
71532221e5 Bug 676147 - looping single mochitests with make command doesn't work. r=jmaher 2011-08-25 14:35:35 -04:00
Joel Maher
e9f3d2cdd6 backout 7918fee254ae, no comments or user in patch 2011-08-25 14:34:54 -04:00
Joel Maher
f49c7bc3f6 imported patch mdas_loops.patch 2011-08-25 14:20:51 -04:00
Brian R. Bondy
11301652b0 Bug475045 - Can't drag unlinkified URL to bookmarks toolbar. r=mak,enndeakin 2011-08-24 08:52:53 -04:00
Malini Das
91a27b5ddc Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
60cd440a07 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Masayuki Nakano
bfc72b90bf Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Joel Maher
874643b9f7 Bug 666660 - convert mochitest plugin harness code to specialpowers. r=ted, a=test-only 2011-07-23 09:02:43 -04:00
Joel Maher
bb2e78799b Bug 666654 - split eventutils.js functions that are chrome only into chromeutils.js. r=ted, a=test-only 2011-07-23 09:02:40 -04:00
Joel Maher
6659c4f8af Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
Joel Maher
139ee8ecf8 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted, a=test-only 2011-07-21 16:21:24 -04:00
Joel Maher
d4e409c106 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only
--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaFileLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
2011-07-18 22:10:29 -04:00
Ehsan Akhgari
5e56126930 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Cameron McCormack
406ac0809f Bug 670817 - Check that uncaught exceptions cause test failures. (v2) r=jmaher 2011-07-15 14:43:09 +12:00
Malini Das
26d36b64b7 Bug 603517 - Enable mochitest to optionally run in loops without restarting the browser r=ctalbert 2011-07-14 14:39:17 -07:00
Boris Zbarsky
3b926816f1 Bug 670452. Fix WindowSnapshot's windowutils codepath to work correctly for canvases of different sizes. r=joe 2011-07-12 12:06:34 -04:00
Joel Maher
852db6420c Bug 666636 - enable specialpowers for all mochitest types. r=ted, a=test-only 2011-07-09 08:35:38 -04:00
Cameron McCormack
02922474fa Bug 669252 - Use the string "unknown test url" in mochitest logging lines if the current test URL is unknown. r=ted 2011-07-09 16:49:01 +12:00
Cameron McCormack
e345ef3767 Bug 669554 - Add a missing newline to dumped uncaught JS exceptions in chrome mochitests. r=ted 2011-07-07 10:27:51 +12:00
Masayuki Nakano
35028f63a8 Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg 2011-07-06 11:16:18 +09:00
Joe Drew
3482c8aee5 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-07-01 13:03:43 -04:00
Marco Bonardo
8ee34defda Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE 2011-07-01 18:08:24 +02:00
Joe Drew
c32bb8010a Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-06-30 21:58:36 -04:00
Cameron McCormack
84b4072bc7 Bug 667155 - Ensure uncaught exceptions do cause test failures in plain mochitests. r=ted 2011-06-27 11:05:02 +12:00
Cameron McCormack
a44336199b Bug 666435 - Remove a line of debugging output from Mochitest harness. r=ted
--HG--
extra : rebase_source : 90bc40c9d247385cd99b5f5f78170f2da8631096
2011-06-24 11:37:52 +12:00
Cameron McCormack
9d4035280b Bug 642175 - Part 2: Allow mochitests to clean up plugin and IPC process crash dumps. r=ted 2011-06-21 12:11:50 +12:00
Cameron McCormack
74bf1bc1f0 Bug 642175 - Part 1: Simplify mochitest logging, and other minor cleanups. r=ted 2011-06-21 12:11:18 +12:00
Cameron McCormack
a16bab3df0 Bug 663669 - Remove some useless code from mochitest harness file quit.js. r=ted 2011-06-16 10:40:09 +12:00
Benjamin Stover
eccd65ea37 Bug 658065 Fix some warnings in mochitest harness r=ctalbert 2011-06-08 09:04:14 -07:00
Joel Maher
d3b8ce217f Bug 654461 - cleanup chrome and a11y harnesses to simplify code. r=ted, a=test-only 2011-05-17 13:10:37 -04:00
Marco Bonardo
7946e96cb4 Bug 651107 - Allow waitForClipboard to check for any custom flavor.
r=ehsan,ted
2011-04-23 02:04:15 +02:00
Ehsan Akhgari
b548c65441 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-15 18:26:50 -04:00
Neil Deakin
1ebf912e93 Bug 462172, fix up preventDefault call in drag synthesis test and move to a chrome test
--HG--
rename : testing/mochitest/tests/SimpleTest/tests/test_synthesizeDragStart.xul => testing/mochitest/chrome/test_synthesizeDragStart.xul
rename : testing/mochitest/tests/SimpleTest/tests/test_synthesizeDrop.xul => testing/mochitest/chrome/test_synthesizeDrop.xul
2011-04-13 13:53:24 -04:00
Ted Mielczarek
cef4398cf5 bug 643803 - Expose DOMWindowUtils via SpecialPowers. r=ctalbert 2011-03-25 14:12:23 -04:00
Olli Pettay
bf0f4bb2a6 Bug 644565 - SpecialPowers should be able add event listeners to TabChildGlobal, r=ted 2011-03-25 15:39:23 +02:00
Marco Bonardo
f765bc316e Bug 630838 - Clear document.popupNode between browser chrome tests.
r=mano, gavin a=tests-only
2011-02-02 17:00:47 +01:00
Mounir Lamouri
b23c476b2f Bug 622264 - Make synthesizeDrop works in more situations. r=enndeakin a=tests 2011-01-25 11:30:24 +01:00
Masayuki Nakano
dde10e95d8 Bug 610821 part.4 Send correct keyevents when type isn't specified r=smaug, a=beltzner 2011-01-14 22:43:18 +09:00
Phil Ringnalda
81e8554942 Back out d1a5599b49fa from bug 615546 for turning bug 592402 from something that hadn't happened for three months to a top-10 test failure, a=shaver 2011-01-09 01:11:31 -08:00
Serge Gautherie
e2f1e2f37e Bug 621384 - SimpleTest.showReport(): add a separator from the test content; (Av1) Add |addNode(HR());|.
r=rcampbell a=(test only).
2011-01-04 16:20:18 +01:00
Clint Talbert
d6b969e275 Bug 582472 - Add a special powers object to remove enable privilege r=ted,smaug a=test-only 2010-12-22 08:39:29 -08:00
Serge Gautherie
984b530ed5 Bug 615546 - SimpleTest.finish() should be asynchronous; (Av1a) SimpleTest.js: Create SimpleTest._finishNow() out of SimpleTest.finish() then call it asynchronously, Fix some (unrelated) nits.
r=rcampbell a=(test only).
2010-12-05 14:09:58 +01:00
Dave Townsend
0e3cad778e Backing out changeset ab44d15573e2 from bug 615546 due to an unusual rise in failures of bug 592402 (and maybe others). a=backout CLOSED TREE 2010-12-01 11:14:43 -08:00
Serge Gautherie
f8ae59deb2 Bug 615546 - SimpleTest.finish() should be asynchronous; (Av1a) SimpleTest.js: Create SimpleTest._finishNow() out of SimpleTest.finish() then call it asynchronously, Fix some (unrelated) nits.
r=rcampbell a=(test only).
2010-12-01 18:24:03 +01:00
Clint Talbert
82e193da0e Backed out changeset 32f70e593bf6 due to intermittent orange on mochi-1 a=bustage 2010-11-12 11:03:44 -08:00
Clint Talbert
dee2100849 Bug 582472 - Add Special Powers object to replace Universal XPConnect in mochitest plain r=ted,smaug a=NPOTB 2010-11-12 06:06:23 -08:00
Markus Stange
cc143d6019 Bug 574663 - Mark momentum scroll events with a kIsMomentum flag and don't allow them to cause zooming. r=smaug, a=final 2010-11-05 17:04:28 +01:00
Jonathan Griffin
c0f2611aea Bug 600413 - make mochitest-browser-chrome logging a little more similar to mochitest-plain. r=ctalbert, a=tests
--HG--
extra : rebase_source : 78bdb3f6cd810f116d94a4c2a0061c88fe7c65a0
2010-10-19 12:20:49 -07:00
L. David Baron
ea2a79ff50 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
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Henri Sivonen
de1f36197c Bug 599583 - Make MochiKit tests use the Mozilla version of SimpleTest.js properly. r=jgriffin, a=blocking2.0-beta7. 2010-09-28 10:32:31 +03:00
Josh Aas
adc5d8646a Bustage fix for bug 596762, I merged patches incorrectly. a=josh 2010-09-27 17:56:38 -04:00
Scott Greenlay
8b4e6b735f 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
e8615565e7 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
138d798f41 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
7fa21e948b Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Scott Greenlay
5842fbcc5f 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
0475184a60 Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
20c58a1c26 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
4c645cfeeb 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
1a2c535e49 Test for bug 590812. r=jst a=test-only 2010-09-03 15:53:28 -07:00
Joel Maher
8015553874 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
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
e3359fd310 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
1cf5d82fff 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
415d9944a6 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
f960b0cffd 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
fabe9a713a Bug 578301 - Clearly identify expected and actual results when tests fail. r=dbaron 2010-07-14 22:55:21 +02:00
Ted Mielczarek
ee8378966a 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
9e6760b252 Backed out changeset e112f68bc941 (bug 574357) due to test failures. 2010-06-29 22:45:30 -07:00
Ted Mielczarek
7bd46535a1 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
b5fc18f20b 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
09f5186347 Bug 567417 - bug to get mochitests running on fennec + e10s r=smaug,ctalbert 2010-06-24 13:30:50 -07:00
Jesse Ruderman
73ed1c1443 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
3f11bd09e1 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
22edfc1a71 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
9cf437bd26 Show value information for passing mochitests too. (Bug 570327) r=ted 2010-06-08 18:44:31 -07:00
L. David Baron
48ff3035cf 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
621d10f57a 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
44b832e7ed 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
f074891823 Bug 554873, improve waitForFocus to check for about:blank pages, r=mak 2010-05-18 09:31:03 -04:00
Neil Deakin
4dff9efa31 Bug 527099, use waitForFocus to wait for the frameset window 2010-05-17 09:21:11 -04:00
Neil Deakin
c9e6e492b7 Add some debugging to help debug 527099 2010-05-16 13:22:55 -04:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Jeff Walden
23aeebc511 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Serge Gautherie
c4eb0f6244 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
fb9fae6739 Bug 554418 - "Enable synthesizeDragStart to specify coordinates" [r=enndeakin] 2010-03-24 10:33:00 -04:00
Serge Gautherie
b17ec6473e 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
89a8c1c560 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
71f1e1e1ec 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
44096c6f1b Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Marco Bonardo
d64d994e1b 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
b1da1d01a2 Bug 550701 - synthesizeDragStart should not fail with |expectedDragData| = null.
r=enndeakin.
2010-03-10 21:03:23 +01:00
Neil Deakin
6c953f6f05 Bug 545175, allow initializing drop effect in synthesizeDrop 2010-02-18 16:37:28 -05:00
Ms2ger
6c085e2d14 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
55b5f2a328 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
17d4669d97 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
44013a17f1 Backed out changeset 43a19419ec4b 2010-01-30 09:32:47 -05:00
Phil Lacy
ad7d7f7445 Bug 462172: Drag downloaded items from download manager r=sdwilish,enndeakin 2010-01-30 08:08:37 -05:00
Marco Bonardo
39bd4a58b4 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
83868e91a3 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
f05e385af0 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
137b13ef55 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
f1e889e9d4 backing out 5ee85f7 due to test harness failures 2009-11-18 11:13:29 -08:00
Ted Mielczarek
9dcdb9fc2e 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
b04a04e38b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Marco Bonardo
cc70be0e78 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
7ae34be75b 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
31d5e938ed 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
360677f613 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
59069ae369 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
6b8e29f8c1 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
2f68128a63 Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Sylvain Pasche
0119e12256 Bug 514667 - Let Mochitest run on IE
r=sayrer
2009-09-16 02:54:56 +02:00
Neil Deakin
ea01a01c25 Bug 506175, make some more tests use waitForFocus, r=sdwilsh 2009-09-09 09:04:13 -04:00
Neil Deakin
822ab165f9 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
61993aad66 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
29ff03752c Bug 512347 - synthesizeDrop from EventUtils doesn't work; Fix initDragEvent() calls
r=enndeakin
2009-09-01 00:52:31 +02:00
Serge Gautherie
1a365c1435 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
1c880b0e7c 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
bc951a4523 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
0c88a4b5df 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
5f6830fceb 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
6e29b676fa Backed out changeset ddd616e58309 from bug 481406 due to tinderbox shortlog
spam
2009-05-28 12:19:57 +01:00
Dave Townsend
76add14cd8 Bug 481406: Include console messages in the log. r=sdwilsh 2009-05-20 10:18:27 +01:00
Serge Gautherie
64ee9e831f 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
d9c300c013 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
9672146754 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
010c09145a 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
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Ginn Chen
fc1e6ae42b 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
b38d604941 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
b83bde0c17 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
f304cdf613 Bug 475322: Browser chrome test harness shouldn't use a periodic poller. r=gavin 2009-02-25 14:27:32 -08:00
Boris Zbarsky
36a2d9ec15 Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
Masayuki Nakano
21d22e5508 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
f54e744dcd backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
383cd77023 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
e06e90e940 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
180811a021 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
12deaa91e1 Bug 469042 - Implement SimpleTest.executeSoon for non-Mozilla browsers. r=sayrer 2009-01-16 15:34:03 -08:00
Jeff Walden
aad77ff36c 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
7da1729505 Bug 456093, add drag simulation methods for testing, r=sayrer 2008-12-10 07:19:16 -08:00
L. David Baron
091751ca33 Backed out changeset 957a4fed14af (bug 466104) due to leaks 2008-12-08 23:13:12 -08:00
L. David Baron
a0ba5c886d 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
2935296406 Bug 387132. Implement native canvas comparisons to speed up reftest running. r+sr=roc 2008-12-03 14:34:07 +13:00
Boris Zbarsky
8b028084c0 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
c0671706d3 Backed out changeset eac2f8f3cd29 due to mochichrome timeout. 2008-11-25 15:46:01 -08:00
L. David Baron
d9ce700006 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
3769265c5f backout of changeset b0dc837c20fa and 73350927f5f1 due to test failures 2008-11-03 18:55:15 -05:00
Boris Zbarsky
b3ed04ff30 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
27a8a48c5e Backout Bug 454781 2008-10-31 15:26:17 +02:00
Olli Pettay
0ed4d3e037 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
a3e61ce604 Bug 462338: Make executeSoon widely available. r=robcee, r=gavin 2008-10-30 17:22:17 +00:00
Justin Dolske
8509f35243 Backed out changeset fa432b23baa5. (Backing out bug 454781 to investigate mochitest leaks) 2008-09-24 17:15:39 -07:00
Olli Pettay
ff2fb34c86 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
32449e2eac Bug 350471 - Reenable pixel scrolling (two-finger touchpad), r=smaug r=smichaud sr=roc 2008-09-17 13:27:19 +02:00
Neil Deakin
a6d6c664e4 Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
b279f88e55 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
2518195266 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
350d6fc473 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
acd274d130 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
2092b61045 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
ca9461ce4b Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Boris Zbarsky
176a0e0d6f 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
5f3411e8a5 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
f7123ab7f0 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
ce1b54f561 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
deb0e936d9 Back out bug 378028 due to mochitest failures. 2008-07-25 18:09:33 +12:00
Robert O'Callahan
5bd0890708 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
844e2ef027 Bug 442125: check Date.now() to try to diagnose focus failures. r=ted 2008-07-23 13:32:30 -04:00
Andrew Schultz
4e7fd92b96 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
80e48a3c62 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
4d9e2e37f2 Bug 431464: TestRunner should try to ensure focus, r=sayrer 2008-05-07 14:45:13 -07:00
ajschult@verizon.net
d60a0f26ce Bug 416074: TestRunner attempts to log after closing the log, r+a=sayrer 2008-02-06 23:18:45 -08:00
sdwilsh@shawnwilsher.com
9d9f01aacc 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
984c57e988 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
9c3dc95215 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
3fd225252e 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
jwalden@mit.edu
4f437a7a3b 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
8e1bf38414 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
1b9adf5c62 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
154f7cbe38 Fix the way mochitest finds the body. Bug 398347, r=sayrer 2007-10-02 19:10:26 -07:00
ted.mielczarek@gmail.com
2734931499 bug 379327 - have mochitest print test filename in FAIL lines. r=sayrer 2007-09-04 06:02:34 -07:00
martijn.martijn@gmail.com
d4ac8534d9 Bug 383888 - mochikit panel for failed test description does not extend, r=sayrer 2007-09-02 05:17:23 -07:00