Commit Graph

1108 Commits

Author SHA1 Message Date
jwalden@mit.edu
74a2f73c04 Bug 418009 - Make runtests.py properly handle stdout for both the server and the application processes, rather than just sitting on the server output and hoping it doesn't grow 'too large'. This may fix some of the problems that were plaguing the PGO box that was using runtests.py a few days ago, and it should fix hangs numerous people have seen running Mochitests lately, where the server process decides to spew gobs of output about stuff being leaked. r=robcee 2008-04-07 22:18:45 -07:00
enndeakin@sympatico.ca
a639ff86ea Bug 416390, context-click on listbox does not select item, also increases size of test frame, r=neil 2008-04-01 14:21:54 -07:00
reed@reedloden.com
5f9e65ed6e Bug 423787 - "XUL test template has typo in comment" [p=manish@flock.com (Manish Singh) r=sayrer] 2008-03-28 23:45:45 -07:00
ajschult@verizon.net
02c78af6bc backing out bug 424501 to verify it doesn't /cause/ firefox to crash 2008-03-22 17:04:36 -07:00
ajschult@verizon.net
810e830597 Bug 424501: disable gnome bug-buddy dialog from runtests, r=waldo 2008-03-22 09:44:57 -07:00
jwalden@mit.edu
e972abcaf4 Bug 405570 - Replace redirects in test for bug 403331 with a test-specific redirection page, now that the HTTP server supports server-side scripts -- the less test harness infrastructure we have, the easier it is to understand and support. r=me as a trivial change, a=testonlychange 2008-03-20 15:58:41 -07:00
mnyromyr@tprac.de
7137e8fe45 Bug 423035: can't run single chrome/a11y test automatically; r=Waldo 2008-03-18 12:57:22 -07:00
jwalden@mit.edu
9156d6bbff Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
gavin@gavinsharp.com
93ec72cc45 Bug 423382: float('Inf') doesn't work everywhere, use 1.0e3000 instead, r=jwalden 2008-03-17 06:06:16 -07:00
jwalden@mit.edu
02a07c4d0b Bug 423235 - Make leak detection always run but only be fatal if the threshold is exceeded, for better leak visibility when --leak-threshold isn't specified; also removes the need for me to maintain a --leak-threshold=0 local change without committing it. r=sayrer, a=testonlychange 2008-03-15 21:11:44 -07:00
jwalden@mit.edu
d76b4a5e99 Revert a local change that isn't be ready yet -- need tinderboxen doing leak tests before we can actually make this change, sigh. 2008-03-15 17:52:18 -07:00
jwalden@mit.edu
1bde50a721 Bug 423106 - runtests.py doesn't do anything with --browser-arg. r=ted 2008-03-15 15:48:08 -07:00
dolske@mozilla.com
78d25ad86c Bug 423033 - mochitest should ignore non-existent files. r=waldo, a=testonly 2008-03-14 18:12:05 -07:00
gavin@gavinsharp.com
a3f16992ee Bug 420955: make Error Console show chrome errors by default in testing profile, r=sayrer. Also port change from bug 420630 to runtests.pl.in 2008-03-04 14:12:06 -08:00
jwalden@mit.edu
82499b6e91 Make $objdir/_tests/testing/mochitest/runtests.py runnable from any directory, not just $objdir/_tests/testing/mochitest/. r=sayrer, NPOTB and all that anyway 2008-03-02 20:05:22 -08:00
jwalden@mit.edu
eefd40c732 Bug 420154 - Print finer-grained leak info in runtests.py than just pass/fail and a table, and don't fall over when --leak-threshold is used in a build without refcount logging (just print a warning). r=sayrer 2008-02-29 19:40:45 -08:00
kairo@kairo.at
836da1985a bug 419826 - Make browser mochitests run on SeaMonkey, r=gavin 2008-02-28 13:36:30 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
jwalden@mit.edu
96f0392ae0 Bug 419339 - Followup to change an error condition (which should never be hit) to use ERROR FAIL instead of FAIL in the error message, to trigger the right log-scraping behavior. 2008-02-24 18:59:04 -08:00
jwalden@mit.edu
ae17c91e79 Bug 419339 - Add an argument to runtests.py to specify the maximum allowable number of RLk-style bytes to be leaked, defaulting to any leaks allowable for now. Tinderboxen will need to pick up the extra argument and provide sane values until we can eradicate all leaks, at which point we can change the default to 0 to always check. r=sayrer 2008-02-24 16:54:31 -08:00
reed@reedloden.com
e213ef0aa5 Bug 418173 - "runtests.pl needs to do case insensitive expanding on windows" (Make the regex case insensitive) [p=bugspam.Callek@gmail.com (Justin Wood [Callek]) r=Waldo a1.9=beltzner] 2008-02-22 03:19:54 -08:00
sayrer@gmail.com
499bc27b1f Bug 418772. PGO scripts and input. r=ted.mielczarek. 2008-02-21 13:08:39 -08:00
reed@reedloden.com
fb5377da33 Bug 381956 - "xpcshell doesn't exit after closing browser window when running Mochitest" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r+a1.9=sayrer] 2008-02-20 02:07:04 -08:00
surkov.alexander@gmail.com
f354efac8e Bug 416553 - option to run accessibility tests, r=rcampbell 2008-02-14 02:32:21 -08:00
surkov.alexander@gmail.com
e9b16fd1ff Back out bug 416553 2008-02-13 23:33:19 -08:00
surkov.alexander@gmail.com
9b6e8173e6 Bug 416553 - option to run accessibility tests, r=rcampbell 2008-02-13 22:20:01 -08:00
jwalden@mit.edu
d03209b3b4 Enable SJS functionality in Mochitests, for server-side scripting of responses. a=testonlychange 2008-02-12 11:40:59 -08:00
ajschult@verizon.net
c8e3809c06 Bug 416570: runtests should not pull in bookmarks chrome, r=sayrer 2008-02-11 21:03:09 -08:00
ajschult@verizon.net
b7946e60ca Bug 416775: runtests.py prints lots of newlines after app exits, r=Waldo 2008-02-11 20:30:18 -08:00
jwalden@mit.edu
7a15a73b7d Bug 416917 - Python runtests doesn't work for me, "Cannot initialize the application correctly". This might or might not fix the problem, but it should be harmless otherwise, and it works fine on OS X. r=sayrer 2008-02-11 20:12:55 -08:00
jag@tty.nl
77b084dde7 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep 2008-02-09 02:37:42 -08:00
jwalden@mit.edu
ddfc96b454 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep 2008-02-07 12:58:56 -08: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
reed@reedloden.com
ed9251a25a Bug 414532 - "Mochitest broken on Cygwin" [p=honzab@allpeers.com (Honza Bambas) r=Waldo (test-only stuff)] 2008-02-06 13:30:24 -08:00
jwalden@mit.edu
0ee9f6a045 Fix a typo in runtests.py.in which flat-out prevents --browser-chrome from working, r=me as trivial, a=test-only, NPOTB, etc. 2008-02-03 17:15:24 -08:00
jwalden@mit.edu
035ea5179c Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst 2008-01-29 17:31:29 -08:00
jwalden@mit.edu
eed2957d94 Bug 411007 - Rewrite runtests.pl.in in Python (but don't start using it yet). This version will eventually replace the Perl version; developer testing of all functionality on all platforms is highly appreciated until we can completely remove the Perl version. r=robcee, a=test-harness-work 2008-01-28 19:48:34 -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
sdwilsh@shawnwilsher.com
932772e19f Bug 414153 - browser-chrome tests do not run http server. r=sayrer 2008-01-26 19:22:18 -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
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
jwalden@mit.edu
be1586dd4b Fix a ReferenceError due to forgotten detritus of an old patch, remove a long-obsolete file. r=sparky, a=lumpy 2008-01-05 23:45:12 -08:00
ccooper@deadsquid.com
0f9b130fe1 b=397724 r=jonas - allow passthrough of browser args to allow collection of malloc/leak logs 2007-12-24 09:32:39 -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
dcamp@mozilla.com
a838fcc9b6 Bug 403331: update JAR channel URIs after a redirect. r=bz, r=jwalden (mochitest changes), sr=dveditz 2007-11-26 20:35:00 -08:00
rcampbell@mozilla.com
28c7793089 bug 404093 - broken mochitest on mac, p=robcee, r=gavin, sr=johnath 2007-11-20 13:12:23 -08:00
ted.mielczarek@gmail.com
f5d265a9bf bug 403400 - isTest should ignore ^headers^ files. r=waldo 2007-11-12 08:55:48 -08:00
ted.mielczarek@gmail.com
101c37b949 bug 403400 - isTest should ignore ^headers^ files, committing as bustage fix 2007-11-11 09:44:50 -08:00
bugzilla@standard8.plus.com
9f175e2355 Bug 399492 Allow Mochitests (runtest.pl) to start/run with apps other than Firefox. r/a=sayrer 2007-10-12 05:25:06 -07:00
bzbarsky@mit.edu
b9bda9c3db Fix the way mochitest finds the body. Bug 398347, r=sayrer 2007-10-02 19:10:26 -07:00
bzbarsky@mit.edu
8df40619da Add 4 more server names, two of which are not granted privs by default, to facilitate testing of enablePrivilege. 2007-09-27 20:27:13 -07:00
myk@mozilla.org
c68e41bc5f bug 390539: honor the --test-path option for browser chrome tests as well; r=gavin 2007-09-27 15:11:05 -07:00
bzbarsky@mit.edu
eee0f6ca73 Fix detection of whether we're in HTML. Bug 386526, r=sayrer 2007-09-19 18:26:14 -07:00
ted.mielczarek@gmail.com
3f80d9be78 bug 379327 - have browser chrome tests print test filename in FAIL lines. r=gavin 2007-09-04 08:47:55 -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
myk@mozilla.org
b127b24029 bug 391137: when building a path to the httpd.js and server.js MochiTest scripts on Windows, add a directory separator between the root dir and appended dirs so two dirs don't run together, creating an invalid path r=gavin, r=sayrer 2007-08-21 15:01:40 -07:00
dbaron@dbaron.org
46d3d2b612 Add --setenv option for setting environment variables for browser only when running mochitests. b=391965 r=sayrer 2007-08-12 15:21:02 -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
enndeakin@sympatico.ca
f23a8dc1c5 Bug 390809, disable warnOnQuit pref in tests, see if this fixes the orange tinderboxes, r=bsmedberg 2007-08-03 08:50:03 -07:00
vladimir@pobox.com
d4deab5ade re-enable mochitests 2007-08-02 01:55:58 -07:00
vladimir@pobox.com
950b9efd1c temporarily disable mochitest 2007-08-02 00:58:45 -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
dbaron@dbaron.org
e59b0cebad Remove extra whitespace at end of one line in test templates. rs=sayrer over IRC 2007-07-15 22:54:13 -07:00
bzbarsky@mit.edu
c4fd41e7f5 Slightly better handling of exceptions, especially parse errors. Bug 388248, r=gavin 2007-07-15 17:21:11 -07:00
gavin@gavinsharp.com
2df1250a61 Disable failing tests, failure error reporting is now complete 2007-07-13 09:01:04 -07:00
gavin@gavinsharp.com
6293b94ea6 Committing a few tests that fail intentionally to test the buildbot error reporting, will disable these once the test is complete 2007-07-13 08:29:05 -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
gavin@gavinsharp.com
d96c0cb9cd Bug 387895: add sample tests for the browser-chrome framework, r=robcee 2007-07-12 08:43:08 -07:00
gavin@gavinsharp.com
806f45888a Bug 387455: adjust browser chrome test harness output (provide summary, don't fail if there are no tests), r=robcee 2007-07-12 07:29:33 -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
gavin@gavinsharp.com
2c923f61de Bug 375469: new test framework to run tests in the browser window scope, r=sayrer 2007-07-09 09:24:15 -07:00
asqueella@gmail.com
458d0c8b38 Bug 384823 - Sort tests by filename to manage dependencies
p=Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer
2007-06-21 13:21:30 -07:00
kherron@fmailbox.com
35ba085ca6 Bug 379766 - mochitest result page could include bug links for bug tests. Patch by Ray Kiddy <ray@ganymede.org>, r=sayrer. 2007-06-17 04:51:35 -07:00
myk@mozilla.org
4f5df70a44 bug 384502: adds ability to start MochiTest's runtests.pl on a certain test or in a specific directoryr=sayrer 2007-06-14 22:42:06 -07:00
jonas@sicking.cc
82a7fdf84a Bug 383511: Support multi-domain tests in mochitest. r=sayrer 2007-06-11 14:55:28 -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
sayrer@gmail.com
232bc09483 change back to warn for mochitest 2007-05-15 20:27:37 -07:00
sayrer@gmail.com
f321a1c767 leave profile dir until the next run. r=rcampbell on irc 2007-05-14 09:56:39 -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
d56eb5fe3e temporarily turn on assertion stacks for debugging 2007-05-03 11:23:09 -07:00
sayrer@gmail.com
32d5d351c5 Bug 379040. Test a new way of redirecting output. r=rcampbell 2007-05-03 09:44:48 -07:00
sayrer@gmail.com
422dd11c4c back out change for bug 379040, fails to pass Windows shell-escaping gauntlet. 2007-05-03 00:07:46 -07:00
sayrer@gmail.com
fcd8b7d8ef Bug 379040. capture stderr from mochitest for diagnostics on win2k3. r=rhelmer 2007-05-02 23:36:51 -07:00
asqueella@gmail.com
d729b20385 Bug 372939 - mochitest gets hung up on .swp files, if they are presentp=Ray Kiddy <ray@ganymede.org>r=sayrer 2007-04-27 09:48:53 -07:00
asqueella@gmail.com
1f12c5107a Bug 372886 - test_bug351601.html does not throw, but does not test eitherp=Ray Kiddy <ray@ganymede.org>r=sayrer 2007-04-27 09:46:33 -07:00
sayrer@gmail.com
35789cfb8a css tweaks for harness pages. no bug 2007-04-22 12:34:39 -07:00
sayrer@gmail.com
f5a95ad37b Increase server startup timeout. 2007-04-20 20:27:59 -07:00
sayrer@gmail.com
5491ba36fa Bug 377794. disable slow script dialog in mochitest prefs. r=rcampbell 2007-04-18 08:31:28 -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
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
sayrer@gmail.com
51fd920a47 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
martijn.martijn@gmail.com
26ef89ca50 Bug 377435 - Text inside harness.xul isn't selectable and doesn't show a scrollbar, r=sayrer 2007-04-13 15:25:35 -07:00
axel@pike.org
a364c25975 bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg 2007-04-11 09:35:01 -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