Commit Graph

174 Commits

Author SHA1 Message Date
Josh Matthews
03e38d47bb Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Philipp von Weitershausen
84bbbabc50 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Phil Ringnalda
2387020259 Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg 2011-04-10 13:23:45 -07:00
Phil Ringnalda
9c88500486 Bug 648895 - Stop trying to package a nonexistent crashreporter_test.xpt, r=ted 2011-04-10 13:07:35 -07:00
Jonathan Protzenko
c0260ef7cc Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Kyle Huey
0528233b41 Bug 629734: Add todo functionality to xpcshell. r=ted 2011-02-20 19:54:14 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -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
John Hopkins
93ebfcf35d Bug 621715 - runxpcshelltests.py clobbers LD_LIBRARY_PATH; r=ted a=NPOTB/test code/GLIBCXX_3.4.9 bustage fix in xpcshell tests for Thunderbird builders. 2011-01-01 21:58:29 -08: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
Serge Gautherie
7a788a97e7 Bug 597811 - [SeaMonkey] mochitests-1/5: "WARNING: NS_ENSURE_SUCCESS(rv, rv) ... nsHTMLInputElement.cpp, line 436" + "test_bug592802.html | Test timed out.", caused by "test_bug548193.html / nsContentPrefService.js"; (Dv1) Revert extraneous change in patch Cv1.
a=(bustage fix).
DONTBUILD
2010-11-20 08:01:58 +01:00
Serge Gautherie
a749d5803e Bug 597811 - [SeaMonkey] mochitests-1/5: "WARNING: NS_ENSURE_SUCCESS(rv, rv) ... nsHTMLInputElement.cpp, line 436" + "test_bug592802.html | Test timed out.", caused by "test_bug548193.html / nsContentPrefService.js"; (Cv1) Add 1 missing 'JSVersion version' in patch Bv1.
a=(bustage fix).
DONTBUILD
2010-11-20 07:55:24 +01: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
Siddharth Agarwal
bde4ae3116 Bug 604406 - xpcshell verbose output fails with "[IOError 12] Not enough space" when the buffer is too long. Print line-by-line instead. r=ted, a=test-only
--HG--
extra : rebase_source : ccbd761cff572c53fa91484d68e4a720df23db1b
2010-10-21 00:43:54 +05:30
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
Ted Mielczarek
a2bce37bbd bug 598507 - wrap test harness process execution with 'arch -arch i386' on OS X 10.5. r=catlee, a=blocking
--HG--
extra : rebase_source : 7212fa8332fe6853f6dedd6bd23dc937f4b9ec86
2010-09-23 12:19:31 -04: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
Justin Lebar
5b10defe9e Bug 592527 - runtest.py and runxpcshelltest.py should ignore ctrl-c when using an interactive debugger. r=ted, a=only-sorta-potb 2010-08-31 18:03:38 -07:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -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
Dan Witte
71818995a5 Bug 586238 - Don't instantiate the crashreporter component in the child process. r=ted 2010-08-12 01:55:28 -07:00
Benjamin Smedberg
df60ea581b Bug 579178 part C - Allow xpcshell to register additional manifests from the command line, and use this to load httpd.manifest in the xpcshell test harness, r=jwalden 2010-07-22 10:42:43 -04:00
Benoit Girard
5d68779104 Bug 557225 - Fix TryServer failures. r=cjones r=josh 2010-07-20 00:17:45 -04:00
Benjamin Smedberg
cc2a808f76 Bug 568698 - Instead of fixing two globals in the jetpack process, allow jetpack to create sandboxes in which to load user code and implementation modules, r=bent 2010-07-08 09:40:07 -07:00
Chris Jones
33aee5d515 Bug 566050: Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios. r=ted 2010-02-10 14:52:16 -08:00
Benjamin Smedberg
2a03b84fa5 Bug 576206 - hangs in necko unit tests on Windows because the content process is crashing, bandaid patch r=Mossop for landing into a CLOSED TREE
--HG--
extra : rebase_source : 7ee40a702c86acc3cc3872954a989b935cd0bec4
2010-07-01 16:03:42 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Benjamin Smedberg
8a8835638e Fix test packaging and execution from bug 568691. 2010-06-22 20:44:44 -04:00
Benjamin Smedberg
c729bcd681 Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Josh Matthews
d6697b8a65 Bug 550860 - Profile directory for xpcshell based tests needs to be in a predefined, stable, location for at least some tests. r=ted 2010-04-28 03:28:56 +10:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Benjamin Smedberg
3fcaf094f4 Bug 570488 - Fix loading of XPTs nested in JARs [2/2] r=mwu
--HG--
extra : rebase_source : b97a591c0260daed1f2ef2eba69e60ff82acd18f
2010-06-14 16:10:04 -07:00
Ted Mielczarek
09691f1ca3 bug 563745 - Make automationutils.py's minidump processing able to send minidumps to minidump-stackwalk-cgi. r=catlee
--HG--
extra : rebase_source : ebbf745e5e77c55437cb05071f49d421d08956c6
2010-05-06 08:06:09 -04:00
Clint Talbert
5acada4fe3 Bug 552253 - XPCShell no longer packages devicemanager.py properly r=ted 2010-03-24 10:51:17 -07:00
Jason Duell
34ed28d2a9 bug 532221 bitrot fix: print BloatView logs for child xpcshell processes a=jduell, r=jwalden
--HG--
extra : rebase_source : 657c5db519b0cb4be74d0a9256deb79db8687005
2009-12-03 17:12:33 -08:00
Jason Duell
40b250a8d5 Bug 546756 and bug 528145: fix error detection regression from runxpcshell "merge". a=jduell 2010-03-19 09:09:54 -07:00
Josh Matthews
2c77d47c5c Fix bug 552871: _HEAD_JS_PATH is not defined for xpcshell test. a=jdm, r=jduell 2010-03-17 15:40:36 +13:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Josh Matthews
0ff29e87b1 Bug 552847. xpcshell: fix "make check-one" and "check-interactive". a=jdm r=ted 2010-03-17 13:05:59 +13:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
Joel Maher
e2fbedec3f Bug 493748 Refactor xpcshell test harness to enable it to work for remote devices r=ted (comment 14) p=jmaher Landing on a CLOSED TREE 2010-03-12 14:57:29 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Doug Turner
16e2fd5fe7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Frederic Plourde<frederic.plourde@polymtl.ca>
fd2891a0e0 Bug 546756 - xpcshell tests should fail when child scripts generate syntax errors. r=jduell 2010-03-02 13:38:53 -05:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Joel Maher
d0d34be090 Bug 552322 Fix remotexpcshelltests to define profile directory r=ctalbert a=dholbert for CLOSED TREE landing, NPOTB 2010-03-15 15:29:27 -07:00
Joel Maher
b3b0cfd496 Bug 545867 Add remotexpcshelltests.py for windows mobile test refactoring r=ctalbert 2010-03-13 10:57:06 -08:00
Brad Lassey
8857f4c08a bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Dave Townsend
9f3b0daf8b Bug 550481: Exceptions from the do_execute_soon callback should be logged and fail the test. r=ted 2010-03-08 10:26:54 -08:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Joel Maher
b4e4a16416 bug 541410 - add devicemanager.py to mozilla-central r=ctalbert 2010-02-23 11:48:16 -05:00
Marco Bonardo
3b9c85bd88 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00
Siddharth Agarwal
393a53534c Bug 556735 - single directory xpcshell-tests and check-one don't work. r=ted
--HG--
extra : rebase_source : 78465fc45518ae116dfa5d438d9b0dc64a69f32d
2010-04-02 18:59:35 +05:30
Marco Bonardo
8bf143e39f Bug 529823 - ensure that xpcshell tests using do_get_profile will fire profile shutdown notifications. r=ted 2010-04-02 00:42:22 +02:00
Joel Maher
9693da52f1 Bug 553700 Allow xpcshell harness to chunk tests r=ted 2010-04-01 12:34:10 -07:00
Marco Bonardo
fa71af01e3 Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Jason Duell
8ae4560680 Print "child|parent" for dumps in xpcshell tests to disambiguate process output. r=jwalden 2009-11-11 23:01:04 -08:00
Jason Duell
4f875a514b Add run_test_in_child() and do_load_child_test_harness() xpcshell functions (bug 521922). r=bent sr=ted
Add necko 'unit_ipc' test directory under e10s, plus simple HTTP test.
2009-10-17 00:05:27 -07:00
Joel Maher
fe0f0b0ff6 Bug 530475 - Convert testharness python code to classes for future integration with mobile framework p=jmaher r=ted 2010-01-15 09:22:54 -08:00
Benjamin Smedberg
576026672e Bug 539290 - Test harness should look for minidumps from child (plugin) processes but not turn the tree orange automatically, r=ted
--HG--
extra : rebase_source : abc65388958859668b63342c046985e1e4083012
2010-01-12 16:53:10 -05:00
Clint Talbert
a8699cf98f Orange on Bd builds: Backed out changeset 745af1f3dbf5 2010-01-13 14:44:49 -08:00
Joel Maher
37b4f8d10a Bug 530475, convert test harness python code to classes for future integration with mobile framework. r=ted patch=jmaher 2010-01-13 13:53:26 -08:00
Jeff Walden
1b996fc332 Bug 525819 - Make do_timeout take a callback function, not a string to eval. Do the final conversion from accepting either string or function to accepting only function, in sync with updating comm-central for the change. r=waylon 2009-12-28 11:31:00 -06:00
Ted Mielczarek
31a63adc14 bug 510505 - add unit tests for breakpad exception handler. r=bsmedberg 2009-09-10 07:49:42 -04:00
Jeff Walden
4f1e3799ef Bug 525819 - Followup to readd the removed functionality -- forgot about comm-central, won't be able to fix all its tests immediately so will make both functions and strings acceptable arguments to do_timeout, for the moment. r=bustage
--HG--
extra : rebase_source : aa46e8bf88538c5ca520b0e5e196e3a9bbd3f7ec
2009-11-24 16:14:26 -08:00
John Daniels
b260d02c5f Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Robert O'Callahan
09fe81352d Bug 508128. Fix do_timeout to hold references to pending timers so that they don't get GCed and automatically cancelled. r=jwalden 2009-11-04 07:39:40 +13:00
Jason Duell
31f9a55a70 Have runxpcshell ignore SIGINT, so we can CTRL-C hung tests and get stdout/stderr from test.
Bug 520649 - runxpcshelltests.py should propagate SIGINT to unit tests.
r=jwalden
2009-10-31 02:58:14 +01:00
Jonathan Griffin
9d1984bf9a Bug 521457. Add debugger options to runreftest.py and runxpcshelltests.py. r=ted
--HG--
extra : rebase_source : 420b33b1d44aae7361c25d8bcc15032c303aa80d
2009-10-19 16:12:09 -07:00
Serge Gautherie
47e80c08bb Bug 498128 - xpcshell-tests: add option to enable/disable file logging; (Av3a) Support --[no-]logfiles in xpcst suite, improve dir/file handling in 3 suites
r=ted.mielczarek
2009-09-21 18:19:21 +02:00
Serge Gautherie
b361f3d1e5 Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Hv1) Use automationutils.dumpLeakLog(), fix/update automationutils.processLeakLog() log messages
r=ted.mielczarek
2009-09-16 17:50:03 +02:00
Serge Gautherie
40eb131c1b Bug 503613 - Stop using tail_ files in xpcshell: use do_register_cleanup() instead; (Av1a) Drop "empty" xpcshell tail.js; r=jwalden 2009-08-21 00:51:17 +02:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Dave Townsend
37b29b4d5d Bug 504060: Add executeSoon equivalent to xpcshell tests. r=ted 2009-08-06 15:25:16 +01:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Serge Gautherie
3c19cd0353 Bug 491784 - runxpcshelltests.py should generate a count summary, as reftest and mochitest do; (Av1a) Just do it, plus followup fix for bug 485736; r=ted.mielczarek 2009-07-31 21:58:42 +02:00
Shawn Wilsher
94f0fc0aac Bug 502907 - Allow for the registration of cleanup functions that run when the harness is done
Consumers can now call do_register_cleanup with a function that will run when
the harness is done running the tests.
r=ted
2009-07-10 16:42:59 -07:00