Commit Graph

79 Commits

Author SHA1 Message Date
Mihnea Dobrescu-Balaur
01876f031b Bug 889076 - Use the profile dir to store minidumps in the crashreporter xpcshell tests. r=ted 2013-07-10 14:10:04 -07:00
Mihnea Dobrescu-Balaur
6eda094182 Bug 892021 - Add a do_get_tempdir function to head.js. r=ted, r=gbrown 2013-07-16 09:38:35 -07:00
Irving Reid
6a0fda21b5 Bug 887799: More reliable way of getting stack traces for xpcshell test errors, r=ted.mielczarek 2013-07-02 10:41:42 -04:00
Guilherme Gonçalves
dda9b3d845 Bug 874587 - Add CoreLocation geolocation provider. r=dougt, r=gps, r=smichaud 2013-07-01 09:43:17 -04:00
Mark Banner
c8a48242ff Bug 886263 - Make places be enabled by default in all xpcshell-tests to avoid having to set it in lots of places (so that tests work with apps where places is disabled by default). r=mak 2013-06-26 14:56:11 +01:00
Ed Morley
27f1b7c165 Backed out changeset b1dba904d5c8 (bug 886263) for xpcshell orange 2013-06-26 11:20:46 +01:00
Mark Banner
eafc43d9dd Bug 886263 - Make places be enabled by default in all xpcshell-tests to avoid having to set it in lots of places (so that tests work with apps where places is disabled by default). r=mak 2013-06-26 10:06:30 +01:00
Jared Wein
1ca909daa3 Bug 880573 - Remove duplication between do_report_result and _do_check_neq. r=ted 2013-06-07 12:44:00 -04:00
Jared Wein
d28d5dfe7a Bug 880568 - _do_check_eq/_do_check_neq/do_print should put double-quotes around argument if the typeof argument is 'string'. r=ted 2013-06-07 12:43:48 -04:00
Josh Matthews
d477225655 Bug 869638 - Remove xpcshell timeout timers. r=ted 2013-05-10 10:50:33 -04:00
aceman
df5e7e5002 Bug 533315 - Show the stack trace of 'e' in do_thow(e) if 'e' is already an exception object. r=ted 2013-05-07 22:37:49 -04:00
Irving Reid
c2010bb454 Bug 863311: Include test function name in test pending / test finished messages. r=ted.mielczarek 2013-05-03 12:08:30 -04:00
Paolo Amadini
5659218182 Bug 859065 - Avoid "command timed out: 1200 seconds without output, attempting to kill" by providing an inner xpcshell timeout of 5 minutes. r=jmaher 2013-04-16 20:35:09 +02:00
Jim Blandy
b615271c9e Bug 857715: In testing/xpcshell/head.js, use 'uneval' to quote values passed to the child process. r=ted 2013-04-14 17:49:40 -07:00
Jim Blandy
f92b34112c Bug 808791: Add some xpcshell testing functions handy for matching JSON packets. r=jmaher 2013-01-14 16:15:58 -08:00
Mounir Lamouri
380dbbcc74 Bug 827050 - Ignore do_get_profile() calls when made from a content process in xpcshell tests. r=jmaher 2013-01-08 15:13:44 +00:00
Josh Matthews
689255c2e5 Bug 815523. patches stolen from 782542 Parts 1,2,3: Necko IPC security pref, and disable for xpcshell tests, r=ted,jdm 2012-12-07 17:12:02 -05:00
Ed Morley
62e46aa794 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
b5a5e3ef75 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Gregory Szorc
53c9d7b883 Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
David Rajchenbach-Teller
9f39126cb0 Bug 810543 - Testing the behavior of OS.Constants.Path.profileDir;r=froydnj 2012-12-11 15:12:59 -08:00
Ed Morley
58f66d8a75 Backout fac650c31656 & 907a846d368f (bug 819033) for xpcshell failures 2012-12-11 20:29:18 +00:00
Ehsan Akhgari
9305b46722 Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Gregory Szorc
873700931f Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
Josh Matthews
6fab8b6f69 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Mark Capella
c33263eef6 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Final, r=ted
Remove last three references, final cleanup
2012-08-23 08:16:44 -04:00
Gregory Szorc
8e71f71a3c Bug 762837 - Try to find modules directory if not defined; r=ted
This is a workaround to enable modules to be found on the buildbot test
runners.
2012-06-29 13:27:11 -07:00
Gregory Szorc
b3dde36872 Bug 760576 - Define do_check_null test helper for xpcshell tests; r=ted
--HG--
extra : rebase_source : 533f5e85bf6d1f9f074fee227b60dde08a7baf17
2012-06-01 19:23:31 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc
5a8cec33cc Bug 754436 - Move xpcshell protocol handler registration into standalone function; r=ted 2012-05-15 09:53:28 -07:00
Gregory Szorc
03add7dd8e Bug 748490 - Part 3: Followups to part 2; r=ted
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
ce02a35113 Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted 2012-05-10 10:10:14 -07:00
Luke Wagner
55d77bd4a6 Bug 732308 - fix potential leak in xpcshell/head.js (r=jmaher) 2012-03-02 09:36:53 -08:00
Jason Duell
01fe7c74c0 Bug 732657: runxpcshell.py doesn't fail e10s tests if child process aborts/crashes. r=jmaher 2012-03-08 15:00:05 -08:00
Justin Dolske
fa5c76f571 Bug 731093 - Make head.js code should just look for just |e.filename| so that a non-object exception is logged when thrown from a test. r=jmaher 2012-03-03 22:19:04 -05:00
Josh Matthews
87431d5a97 Bug 463122 - Improve xpcshell error reporting for generic exceptions caught at the top level. r=ted 2011-12-28 11:57:28 -05:00
Blair McBride
781525cbfa Bug 683124 - Add function to xpcshell-test harness to output info text. r=ted.mielczarek 2011-09-07 16:26:20 +12:00
Siddharth Agarwal
3c94ff0c84 Bug 648127 - xpcshell: add a newline before every TEST- line. r=ted
runxpcshelltests.py looks for TEST-UNEXPECTED-FAIL only at the beginning of lines, so if a failure happens right after a dump() call without a trailing newline, it isn't able to detect it.
2011-05-10 23:34:15 +05:30
Philipp von Weitershausen
84bbbabc50 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Kyle Huey
0528233b41 Bug 629734: Add todo functionality to xpcshell. r=ted 2011-02-20 19:54:14 -05:00
Ehsan Akhgari
b5f305985c Backout bug 629734 because it breaks the build on Windows 2011-03-27 13:53:09 -04:00
Kyle Huey
e433b2e26f Bug 629734: Add todo functionality to xpcshell; r=ted 2011-02-20 19:54:14 -05:00
Jim Mathies
e271642fee Bug 617503 - Disable IPv6 lookups for host 'localhost' for xpecshell tests on Windows. r=ted, a=tests. 2010-12-10 19:17:25 -06:00
Chris Leary
9ff0cd58c9 Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Robert O'Callahan
8d1417ce26 Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Marco Bonardo
6742cfb4e5 Bug 602871 - XPCShell test harness should ignore system idle time while running tests, r=ted a=tests-only 2010-10-19 11:18:40 +02:00
Brian Crowder
ab39525a46 Bug 567267 - move management of ExternalHelperApp protocols to PContent, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Jason Duell
6fd611e11a Bug 581750 - runxpcshell.py --verbose breaks success/fail detection. a=NPOTB
Also includes printf formatting fix for head.js
2010-09-10 10:20:38 -07:00
Dan Witte
655f9eb546 Fix comment in head.js, and use do_execute_soon in mozapps/update/test/unit/test_bug497578.js. 2010-08-13 23:03:36 -07:00
Dan Witte
353ca1f162 Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell 2010-08-13 13:28:14 -07:00