Mike de Boer
fb38092206
Bug 873126: introduce a common JS Assert library. r=gps,Unfocused
2013-11-19 13:53:18 +01:00
Jim Blandy
3ce8b0ca6a
Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer
2013-09-06 08:06:23 -07:00
Jim Blandy
544b219f25
Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
...
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.
The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
ec2a98ca8e
Bug 909142: Fix xpcshell test harness regexp matching JS stack frames. But to what end? r=ted
2013-09-02 08:58:37 -07:00
Chris Manchester
a097c1cfe1
Bug 896087 - Output structured messages in head.js, interpret them in runxpcshelltests.py; r=ted
2013-07-22 19:44:25 -07:00
Ryan VanderMeulen
06fde915be
Backed out changesets 57fc6c256d1f and a6bb570b7f41 (bug 896087) checktest failures on a CLOSED TREE.
2013-08-22 15:55:54 -04:00
Chris Manchester
166204099a
Bug 896087 - Output structured messages in head.js, interpret them in runxpcshelltests.py. r=ted
2013-07-22 19:44:25 -07:00
Ted Mielczarek
3b54ae4d64
bug 842728 - init Breakpad from C++ in xpcshell, remove ability to init from script. r=bholley,gps
2013-08-15 14:48:12 -04:00
Irving Reid
6eea459fd1
Bug 890555 - Handle case of non-Object argument to do_throw; r=ted
2013-07-13 12:37:13 -04:00
aceman
2fb4d94b87
Bug 896738 - Declare msg variable in testing/xpcshell/head.js. r=ted
2013-08-01 10:39:18 +01:00
Mark Banner
5c9bf6beed
Bug 896756 - Fix strict warnings in xpcshell's head.js. r=jmaher
2013-07-23 18:31:30 +01:00
Mihnea Dobrescu-Balaur
43b04451f2
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
e01d794e0b
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
204e891300
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
d20201761f
Bug 874587 - Add CoreLocation geolocation provider. r=dougt, r=gps, r=smichaud
2013-07-01 09:43:17 -04:00
Mark Banner
8e11fc7cb0
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
30907456d8
Backed out changeset b1dba904d5c8 (bug 886263) for xpcshell orange
2013-06-26 11:20:46 +01:00
Mark Banner
5825ff1bef
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
4fa2ec7687
Bug 880573 - Remove duplication between do_report_result and _do_check_neq. r=ted
2013-06-07 12:44:00 -04:00
Jared Wein
715dea6464
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
f3606e95ce
Bug 869638 - Remove xpcshell timeout timers. r=ted
2013-05-10 10:50:33 -04:00
aceman
1b0b8deda2
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
a1a9e45a6e
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
b6488ca89f
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
f1d09dc1ad
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
f2cbe8628b
Bug 808791: Add some xpcshell testing functions handy for matching JSON packets. r=jmaher
2013-01-14 16:15:58 -08:00
Mounir Lamouri
2b48203e27
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
fccec36a4b
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
0166feddca
Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts
2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4
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
fe00f5a2b5
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
4b024fdb16
Bug 810543 - Testing the behavior of OS.Constants.Path.profileDir;r=froydnj
2012-12-11 15:12:59 -08:00
Ed Morley
ec20fd0a1a
Backout fac650c31656 & 907a846d368f (bug 819033) for xpcshell failures
2012-12-11 20:29:18 +00:00
Ehsan Akhgari
a1844bd954
Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures
2012-12-11 15:04:11 -05:00
Gregory Szorc
75532ccbeb
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
5c429bd02b
Bug 782542 - Secure necko IPDL usage. r=ted,jduell
2012-12-07 17:12:02 -05:00
Mark Capella
a2d27e5a14
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
c1ab6d9d9f
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
fd7632fcb6
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
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gregory Szorc
a6e2cfc42d
Bug 754436 - Move xpcshell protocol handler registration into standalone function; r=ted
2012-05-15 09:53:28 -07:00
Gregory Szorc
f10aa4ab08
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
21cf7fa9e3
Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted
2012-05-10 10:10:14 -07:00
Luke Wagner
4451654360
Bug 732308 - fix potential leak in xpcshell/head.js (r=jmaher)
2012-03-02 09:36:53 -08:00
Jason Duell
e0c0758849
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
663f83149e
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
fc82bc0f95
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