214 Commits

Author SHA1 Message Date
gavin%gavinsharp.com
1fd508f793 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
git-svn-id: svn://10.0.0.236/trunk@247043 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 22:12:06 +00:00
jwalden%mit.edu
9d4583a946 Make $objdir/_tests/testing/mochitest/runtests.py runnable from any directory, not just $objdir/_tests/testing/mochitest/. r=sayrer, NPOTB and all that anyway
git-svn-id: svn://10.0.0.236/trunk@246893 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 04:05:22 +00:00
jwalden%mit.edu
fed400ddc9 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
git-svn-id: svn://10.0.0.236/trunk@246829 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-01 03:40:45 +00:00
kairo%kairo.at
f9ba1cd15f bug 419826 - Make browser mochitests run on SeaMonkey, r=gavin
git-svn-id: svn://10.0.0.236/trunk@246756 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 21:36:30 +00:00
jwalden%mit.edu
d3ebb55032 Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246617 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:48:56 +00:00
jwalden%mit.edu
d613f2e8b3 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.
git-svn-id: svn://10.0.0.236/trunk@246428 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 02:59:04 +00:00
jwalden%mit.edu
8d0b713493 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
git-svn-id: svn://10.0.0.236/trunk@246422 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 00:54:31 +00:00
reed%reedloden.com
64ca6e985d 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]
git-svn-id: svn://10.0.0.236/trunk@246292 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 11:19:54 +00:00
sayrer%gmail.com
bf4972eae4 Bug 418772. PGO scripts and input. r=ted.mielczarek.
git-svn-id: svn://10.0.0.236/trunk@246230 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 21:08:40 +00:00
reed%reedloden.com
5806ef6d04 Bug 381956 - "xpcshell doesn't exit after closing browser window when running Mochitest" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r+a1.9=sayrer]
git-svn-id: svn://10.0.0.236/trunk@246065 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 10:07:04 +00:00
surkov.alexander%gmail.com
532fbb6b10 Bug 416553 – option to run accessibility tests, r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@245688 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 10:32:23 +00:00
surkov.alexander%gmail.com
24eaf824fc Back out bug 416553
git-svn-id: svn://10.0.0.236/trunk@245683 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 07:33:20 +00:00
surkov.alexander%gmail.com
cbda1ff0ed Bug 416553 – option to run accessibility tests, r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@245676 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 06:20:03 +00:00
jwalden%mit.edu
bb12e80618 Enable SJS functionality in Mochitests, for server-side scripting of responses. a=testonlychange
git-svn-id: svn://10.0.0.236/trunk@245506 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 19:40:59 +00:00
ajschult%verizon.net
b76ba6bf63 Bug 416570: runtests should not pull in bookmarks chrome, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@245453 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 05:03:09 +00:00
ajschult%verizon.net
2abe6389c1 Bug 416775: runtests.py prints lots of newlines after app exits, r=Waldo
git-svn-id: svn://10.0.0.236/trunk@245450 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:30:18 +00:00
jwalden%mit.edu
e78ea9355e 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
git-svn-id: svn://10.0.0.236/trunk@245448 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:12:55 +00:00
jag%tty.nl
f5a40a4f79 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245303 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 10:37:44 +00:00
jwalden%mit.edu
81e14c8be6 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245167 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 20:58:57 +00:00
ajschult%verizon.net
7c3322d908 Bug 416074: TestRunner attempts to log after closing the log, r+a=sayrer
git-svn-id: svn://10.0.0.236/trunk@245103 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 07:18:45 +00:00
reed%reedloden.com
2ac8640250 Bug 414532 - "Mochitest broken on Cygwin" [p=honzab@allpeers.com (Honza Bambas) r=Waldo (test-only stuff)]
git-svn-id: svn://10.0.0.236/trunk@245042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 21:30:24 +00:00
jwalden%mit.edu
d0b1a98377 Fix a typo in runtests.py.in which flat-out prevents --browser-chrome from working, r=me as trivial, a=test-only, NPOTB, etc.
git-svn-id: svn://10.0.0.236/trunk@244831 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 01:15:24 +00:00
jwalden%mit.edu
f89e42dc62 Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst
git-svn-id: svn://10.0.0.236/trunk@244423 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 01:31:33 +00:00
jwalden%mit.edu
60bb2e2ea4 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
git-svn-id: svn://10.0.0.236/trunk@244273 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 03:48:34 +00:00
sdwilsh%shawnwilsher.com
11a3002088 Bug 411521 - EventUtils.synthesize* doesn't allow you to specify a window. r=Enn
git-svn-id: svn://10.0.0.236/trunk@244211 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 17:12:17 +00:00
sdwilsh%shawnwilsher.com
7099fd738d Bug 414153 - browser-chrome tests do not run http server. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@244089 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 03:22:18 +00:00
jwalden%mit.edu
0b78e17015 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
git-svn-id: svn://10.0.0.236/trunk@244048 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 14:05:39 +00:00
myk%mozilla.org
5fff22e2d3 bug 413416: implement todo_is and todo_isnot for MochiTest browser chrome harness; r=gavin, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@244020 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 23:33:17 +00:00
myk%mozilla.org
f5b5010fab 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
git-svn-id: svn://10.0.0.236/trunk@244009 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 21:29:11 +00:00
jwalden%mit.edu
2183bc0298 Bug 413428 - Some tweaks to make the Mochitest harness cross-browser, where and when reasonable. r+a=sayrer
git-svn-id: svn://10.0.0.236/trunk@243711 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 03:54:20 +00:00
dolske%mozilla.com
6241bda6dd Bug 405942 - repeated Mochitest test timeouts can cause tests to take hours. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@243145 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 22:23:44 +00:00
jwalden%mit.edu
2178745bc0 Fix a ReferenceError due to forgotten detritus of an old patch, remove a long-obsolete file. r=sparky, a=lumpy
git-svn-id: svn://10.0.0.236/trunk@242501 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-06 07:45:12 +00:00
ccooper%deadsquid.com
7eaf0edf27 b=397724
r=jonas
- allow passthrough of browser args to allow collection of malloc/leak logs


git-svn-id: svn://10.0.0.236/trunk@242070 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-24 17:32:39 +00:00
dcamp%mozilla.com
43ee461b3e Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@239965 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 05:32:26 +00:00
dcamp%mozilla.com
6584a3f403 Bug 403331: update JAR channel URIs after a redirect. r=bz, r=jwalden (mochitest changes), sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@239963 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 04:35:01 +00:00
rcampbell%mozilla.com
647f58d1ab bug 404093 - broken mochitest on mac, p=robcee, r=gavin, sr=johnath
git-svn-id: svn://10.0.0.236/trunk@239746 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 21:12:23 +00:00
ted.mielczarek%gmail.com
4d1212c139 bug 403400 - isTest should ignore ^headers^ files. r=waldo
git-svn-id: svn://10.0.0.236/trunk@239213 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 16:55:48 +00:00
ted.mielczarek%gmail.com
224fdca1ed bug 403400 - isTest should ignore ^headers^ files, committing as bustage fix
git-svn-id: svn://10.0.0.236/trunk@239140 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 17:44:50 +00:00
bugzilla%standard8.plus.com
db6accc4b0 Bug 399492 Allow Mochitests (runtest.pl) to start/run with apps other than Firefox. r/a=sayrer
git-svn-id: svn://10.0.0.236/trunk@237652 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 12:25:06 +00:00
bzbarsky%mit.edu
954ed5d441 Fix the way mochitest finds the body. Bug 398347, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@237124 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 02:10:26 +00:00
bzbarsky%mit.edu
089ff488aa Add 4 more server names, two of which are not granted privs by default, to
facilitate testing of enablePrivilege.


git-svn-id: svn://10.0.0.236/trunk@236824 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 03:27:13 +00:00
myk%mozilla.org
56d8f66d36 bug 390539: honor the --test-path option for browser chrome tests as well; r=gavin
git-svn-id: svn://10.0.0.236/trunk@236798 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 22:11:05 +00:00
bzbarsky%mit.edu
6cda999a45 Fix detection of whether we're in HTML. Bug 386526, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@236340 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 01:26:14 +00:00
ted.mielczarek%gmail.com
5fc4fb7a3a bug 379327 - have browser chrome tests print test filename in FAIL lines. r=gavin
git-svn-id: svn://10.0.0.236/trunk@233853 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 15:47:55 +00:00
ted.mielczarek%gmail.com
1c05b13e7e bug 379327 - have mochitest print test filename in FAIL lines. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@233842 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 13:02:34 +00:00
martijn.martijn%gmail.com
4c549394c1 Bug 383888 – mochikit panel for failed test description does not extend, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@233729 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 12:17:23 +00:00
myk%mozilla.org
f08510925e 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
git-svn-id: svn://10.0.0.236/trunk@232481 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 22:01:40 +00:00
dbaron%dbaron.org
d510c27eb3 Add --setenv option for setting environment variables for browser only when running mochitests. b=391965 r=sayrer
git-svn-id: svn://10.0.0.236/trunk@231944 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-12 22:21:02 +00:00
jwalden%mit.edu
3c27de541a 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
git-svn-id: svn://10.0.0.236/trunk@231828 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 19:04:54 +00:00
flamingice%sourmilk.net
743b26fcb8 Bug 386810, Move quit-application-granted notification to nsAppStartup::Quit, r=benjamin
git-svn-id: svn://10.0.0.236/trunk@231779 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 03:05:54 +00:00