Commit Graph

310 Commits

Author SHA1 Message Date
Jonas Sicking
a66617aa2d Bug 546857 Part 5: Add a default permissions.sqlite to unit test profiles. r=ted a=blocker 2010-08-19 16:12:46 -07:00
Dave Townsend
be149ce189 Bug 573079: Package Beta Feedback extension in beta release builds. r=ted, r=beltzner 2010-06-24 16:36:31 -07:00
Clint Talbert
ce2826b7ed Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00
Robert Strong
dce736a623 Bug 562795: Fix update tests to ignore application extensions. r=dtownsend 2010-06-18 08:54:22 -07:00
Dave Townsend
69eb9199ca Potential bustage fix for update tests, reverting the change to automation.py.in from bug 562795. 2010-06-17 17:26:55 -07:00
Dave Townsend
b121d79b3c Bug 562795: Sorting by name in the digest view is case-sensitive for all types of add-ons. r=Unfocused 2010-06-16 20:13:54 -07:00
Jonathan Griffin
d7a8b09690 Bug 570789. Change default websocket server port to 9988, as 9999 is used by something by default on fedora
--HG--
extra : rebase_source : d4e0d05f58ff82ec6d6300d9c3c9e943c07d77ef
2010-06-17 12:00:58 -07:00
Jonathan Griffin
e6fdd7ae87 Bug 570789. Add WebSocket support to mochitest. r=ted
--HG--
extra : rebase_source : 2e33d054a13824d1a7e527777383820946684c3f
2010-06-16 22:38:55 -07:00
Jesse Ruderman
c54b9bd259 Bug 570730 - followup fix to reset test name if runApp is called twice 2010-06-10 21:28:36 -07:00
Jesse Ruderman
3f11bd09e1 Bug 570730 - automation.py should indicate which test crashed (or timed out) for reftests and mochitests. r=ctalbert 2010-06-10 18:46:18 -07:00
Jesse Ruderman
db961dd470 Turn off mac stack fixer because it's causing random orange (bug 569981) and soon to be replaced
--HG--
extra : rebase_source : 4f731795bdff2ac10034163baba0d5a2ec735b45
2010-06-08 20:55:44 -07:00
Dave Townsend
bfd56a86b8 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
09099ef21b Bug 555486: Add a scope property to add-ons and allow disabling loading add-ons from certain scopes. r=robstrong 2010-04-07 11:08:32 -07:00
Mike Hommey
acc556837f Bug 557750: Remove vestigial code from the old safebrowsing protocol. r=vlad 2010-04-10 15:59:33 -04:00
Jesse Ruderman
3988aabe8b Fix bug 539691: disable timeouts when using an interactive debugger, and use a saner timeout-kill method when using a non-interactive debugger. r=ted 2010-03-20 23:08:49 -07:00
Joel Maher
8991adb7bc Bug 540617 Process.kill instantiates another Automation() which adds another log handler r=ted 2010-03-18 13:13:33 -07:00
Joel Maher
d2705546fc Bug 543825 use of __import__ needs to be removed from automation.py r=ted 2010-03-18 11:14:14 -07:00
Clint Talbert
c764b6beb3 Backed out changeset 31b7d1785eb2 due to automation.py bustage 2010-03-13 11:57:16 -08:00
Joel Maher
5157e45805 Bug 543825 remove __import__ from automation.py r=ted 2010-03-13 11:20:27 -08:00
Joel Maher
b6fdcf4a52 Bug 512319 Add options for mochitest to use an external server r=ted 2010-03-13 09:56:24 -08:00
Joel Maher
06ea20abd9 Bug 544097 Fixing up leaktest and profileserver tests to run with these changes r=ctalbert p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:37 -08:00
Joel Maher
6b6e9978a3 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
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
b52e3c4dfb Bug 512319 Add options for mochitest to use an external server p=jmaher r=ted 2010-03-09 11:54:39 -08:00
Joel Maher
1c8d232df2 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
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 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
5b4513c7e9 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
3cd691129e 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
Karl Tomlinson
5e290dd3be Use SIGABRT to trigger breakpad in hangs on UNIX to make these easier to distinguish from SIGSEGV crashes rs=ted no bug
--HG--
extra : rebase_source : 6fad8dba8c062f3f0bf54fb29e0f1ae64d0bec0b
2010-02-25 15:05:48 -08:00
Doug Turner
328a598fc9 Backed out Bug 489813 / changeset 0542680c6f74 2010-02-23 23:11:18 -08:00
Doug Turner
d2afc943c8 Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Jesse Ruderman
96ef373380 Bug 539516 - Switch automation.py to use the new python stack fixer. r=ted
--HG--
rename : tools/rb/fix-macosx-stack.py => tools/rb/fix_macosx_stack.py
2010-02-21 13:03:20 -08:00
Daniel Holbert
ab2d529d51 Backed out changeset 8006ad2d0c06 (tests for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:57:15 -08:00
Benjamin Smedberg
deba97ab72 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg
f29d5d96f1 Fix typo in error-handling case that we rarely hit, r=trivial
--HG--
extra : rebase_source : a6172b6b004f71fd14f818eb5da56dc04f98b46a
2010-01-26 17:46:47 -05:00
Jonathan Griffin
e845a6725c Bug 540369. Fix unit test hang detection on Windows. r=ted
--HG--
extra : rebase_source : 9e9c8f45f61585ac0bb3f08d873289003d95c14d
2010-01-25 12:37:58 -08:00
Jesse Ruderman
36ed6473eb Fix bustage from rev 0aeedccc0125 (bug 530475) when running tests with maxTime. 2010-01-19 15:47:57 -08:00
Joel Maher
2f4abc99e3 Bug 530475 - convert test harness python code to classes additional refactoring for automation.py and runtests.py p=jmaher r=ted 2010-01-19 11:45:04 -08:00
Joel Maher
9cbb17cab6 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
56fe91e3d0 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
97380eb3ce Orange on Bd builds: Backed out changeset 745af1f3dbf5 2010-01-13 14:44:49 -08:00
Joel Maher
d3cc2ac124 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
Benjamin Smedberg
5d57e270ca Import ctypes.wintypes explicitly to avoid a python exception when child processes get hung. 2010-01-08 15:52:37 -05:00
Neil Rashbrook
f26aad7e85 Bug 525057 'make clean' deletes automationutils.py r=ted 2010-01-11 23:55:51 +00:00
Clint Talbert
a961a03110 Backed out changeset e67e79969232 due to orange on debug mochitests 2010-01-07 19:57:02 -06:00
Joel Maher
ab0d8f0041 Bug 530475 - Refactoring test harnesses to classes for easier reuse for mobile testing p=jmaher r=ted 2010-01-07 12:47:19 -06:00
Jesse Ruderman
d4106cb768 Bug 532184: add optional maxTime argument to runApp. r=ted 2010-01-06 16:45:46 -08:00
Clint Talbert
d938e08992 Backed out changeset 85cd0f297421 - causing orange on leak bloat and linux mochitests 2010-01-06 16:03:29 -06:00
Joel Maher
3d0c15f608 Bug 530475 - convert all python test harnesses to classes for easier reuse, patch=jmaher, r=ted 2010-01-06 12:01:18 -06:00
Benjamin Smedberg
235c04a443 Bug 535802 - disable the Windows JIT crash dialog when running mochitests, r=ted 2009-12-18 16:16:38 -05:00
Jonathan Griffin
eee412ce5e But 535564. Remove log file after all processes are closed. r=bsmedberg 2009-12-22 15:13:59 -08:00
Jonathan Griffin
2fe20f5e48 Bug 534934 - mochitest-ipcplugins: OSError: [Errno 10] No child process, r=bsmedberg 2009-12-15 20:21:51 -05:00
Benjamin Smedberg
636d74b114 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
e98d1daf07 Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Jesse Ruderman
8bbd3e6ae5 Bug 531479 - Always return exit status of the app, not the stack fixer process. r=dbaron 2009-11-29 13:29:03 -08:00
Clint Talbert
522c53eb83 Causing oranges -- Backed out changeset b3c18f150531 2009-11-25 18:00:31 -08:00
Joel Maher
3dcbe17432 Bug 512319 Add option to allow mochitest to use external web server patch=jmaher r=ted 2009-11-25 17:04:02 -08:00
Benjamin Smedberg
4ee635dc19 Bug 523208 - ensure mochitest expects multiple processes, original patch by jgriffin, reworked for ted's review comments by bsmedberg, r=ted 2009-11-20 14:48:56 -05:00
Ted Mielczarek
34015a77aa bug 525370 - figure out windows bustage with hang detection and re-enable it. r=jwalden
--HG--
extra : rebase_source : 24ea6c09d89f20c21dc7f0b49b6dc62e32cd5934
2009-10-30 13:00:19 -04:00
Jesse Ruderman
059c6b337f automation.py no longer needs to set this SMIL pref, since it is now the default. Bug 532997, r=dholbert 2009-12-04 14:25:31 -08:00
Blake Kaplan
525da59c55 Bug 524690 - Explicitly disable the crashreporter if we have a debugger. r=ted 2009-11-17 03:11:33 -08:00
Jonathan Griffin
9c01be79f0 Bug 524489. Add the --setpref option to runreftest.py. r=ted 2009-11-11 14:50:35 -08:00
Ted Mielczarek
d69d1afc18 disable windows hang checking for now, bug 525370 filed to sort it out 2009-10-29 20:25:58 -04:00
Ted Mielczarek
9c12663894 bug 501034 - add a Win32 helper app to crash a process, and make automation.py use it when the app hangs. r=Waldo
--HG--
extra : rebase_source : 845326f8cfcd3dfe7ca5b0a98bd0810966cf2809
2009-10-16 13:34:27 -04:00
Ted Mielczarek
76b0e0bd6a bug 501034 - add hang detection + breakpad triggering to automation.py. r=Waldo
--HG--
extra : rebase_source : 088eeeb0c3135d1048dca08f3639642a90b2eab2
2009-10-13 16:56:24 -04:00
Jonathan Griffin
6bc3380759 Bug 523208. Fix string to refer to --setpref instead of --extra-pref. 2009-10-26 09:57:33 -07:00
Ted Mielczarek
77db50f3f3 bug 523330 - default symbols path busted for mochitest/reftest. r=bsmedberg 2009-10-21 14:19:51 -04:00
L. David Baron
996fc6836b Set dom.popup_maximum to -1 to work around weirdness with the offline tests and get the tree green again, and because we probably want to do it anyway. CLOSED TREE 2009-10-22 13:49:21 -04:00
Jonathan Griffin
997ce091cb Bug 519574. Add --setpref to runtests.py, to add custom prefs to mochitest runs. r=mielczarek
--HG--
extra : rebase_source : db4f83d61b30b70fe5e3f49b25367f223a1ea5e3
2009-10-14 10:55:25 -07:00
Ted Mielczarek
8c1c721b01 bug 515436 - Electrolysis test runs need a special LD_LIBRARY_PATH. fix automation.py and various consumers to not overwrite LD_LIBRARY_PATH. r=bsmedberg
--HG--
extra : rebase_source : 414a8059faaf7888b53f98712d0b0f6b4863d2ad
2009-10-08 14:10:47 -04:00
Boris Zbarsky
b0c5eda9d5 Another fix for bug 485531, working around the bustage from bug 504480. r=ted 2009-09-25 12:47:51 -04:00
Serge Gautherie
530cee485c Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-09-06 03:08:49 +02:00
Serge Gautherie
e2676420d0 Backed out changeset: f6bf83b50648 2009-08-26 22:36:55 +02:00
Serge Gautherie
0d86432574 Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-08-26 18:36:40 +02:00
Clint Talbert
c030f1404e Bug 482260, Add more comprehensive tests, patch=dougt, r=mfinkle,jmaher,ctalbert 2009-08-14 16:12:09 -07:00
Brad Lassey
e480b0ea50 Backed out changeset 08f71a710ae3 due to orange unit tests r=dougt 2009-08-12 19:26:03 -07:00
Doug Turner
4f5320f9e8 Bug 482260. Add more tests cases for geolocation. Also fixes max age not being able to be set to zero. r=mfinkle,jmaher. 2009-08-12 12:17:33 -07:00
L. David Baron
863d371153 Run output of debug builds through fix-linux-stack/fix-macosx-stack. (Bug 385248) r=ted 2009-08-10 15:52:29 -07:00
Boris Zbarsky
035e5c7461 Bug 485531. Make --debugger-gdb work reliably on mac. r=ted 2009-08-06 13:34:49 -04:00
Chris AtLee
a841e58701 Bug 499161 - Set xrePath when creating the environment for the main process. r=ted 2009-06-18 15:13:20 -04:00
Dave Townsend
30cbd05ee8 Bug 497884: Intermittent failure in test_classifier.html and test_classifier_worker.html. r=sdwilsh 2009-06-17 11:47:08 +01:00
Joel Maher
75b52fe065 Bug 489817 - migrate existing geolocation tests from mochitest to browser-chrome; r=(ctalbert + doug.turner) 2009-06-08 21:50:04 +02:00
Ted Mielczarek
995b061680 bug 483062 - figure out how to get crash stacks from xpcshell tests. r=bsmedberg
--HG--
extra : rebase_source : 70355805b7f71c016eaa7aaea1d1916a23316b8a
2009-05-11 15:54:39 -04:00
Olli Pettay
794ad26d0d Bug 486502 - Dispatch test events only when running mochitest/chrome/browser-chrome, r+sr=roc 2009-05-06 07:30:39 +03:00
tn
9b7ba0c850 Bug 490951 - Fix timeout for scripts when running mochitests; r=ted.mielczarek 2009-05-06 01:11:19 +02:00
Serge Gautherie
324ac91014 Bug 482598 - Requesting a tinderbox for Mac with --enable-accessibility; (Bv1) Force a leak threshold for test suite; r=jwalden+bmo 2009-04-21 00:26:03 +02:00
Serge Gautherie
f247d18469 Bug 484231 - A Mochitest crashdump turns the waterfall orange but misses to |TinderboxPrint|; (Bv1) runtests.py.in: return |status| instead of |0|, and 3 (unrelated) nits; r=jwalden+bmo 2009-04-10 12:30:32 +02:00
Honza Bambas
c5c01a59b6 Bug 480713 - nsDocLoader doesn't clear requests from mRequestInfoHash, security UI may not report mixed content, r,sr=jst 2009-04-08 10:45:32 +02:00
Serge Gautherie
b723e4b111 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Ev1) Parse the log and support a leak threshold; r=jwalden+bmo 2009-04-05 15:03:46 +02:00
Robert O'Callahan
c47f8b32e2 Bug 475441. Make the media cache size really small while we're running mochitests, to give the cache code a thorough workout. r=doublec 2009-04-01 13:52:56 +13:00
Robert O'Callahan
2af27eafcc Backed out changeset c166dc4af167 2009-04-01 16:18:14 +13:00
Robert O'Callahan
322f74aa85 Bug 475441. Make the media cache size really small while we're running mochitests, to give the cache code a thorough workout. r=doublec
--HG--
extra : rebase_source : c8ab78a79557ecf02ca4f11d3d8d83fb3685f1f1
2009-04-01 13:52:56 +13:00
Serge Gautherie
06914d2378 Bug 482236 - runtests.py.in : wrong leak detection on this case; (Av1a) Support a negative 'Total' value; r=(dbaron + jwalden+bmo) 2009-03-17 15:22:59 +01:00
Serge Gautherie
9d44a930ba Bug 469518 - Enable Reftest leak log in tinderbox (log); (Dv1) Early return in processLeakLog(); r=jwalden+bmo 2009-03-17 15:22:57 +01:00
Daniel Holbert
c7d91d01bf Bug 473705 auxiliary patch: Enable SMIL pref during mochitests. r+sr=roc 2009-03-10 13:35:25 -07:00
Benjamin Smedberg
484c66b6de Bug 481732 - Check for crash minidumps in unit tests and dump them, if the MINIDUMP_STACKWALK path is set in the environment, r=ted 2009-03-10 13:36:14 -04:00
Serge Gautherie
2355ddae42 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Cv1) "Fix" processLeakLog() arguments; r=jwalden+bmo 2009-03-10 15:10:25 +01:00
Serge Gautherie
f0f39614da Bug 469518 - Enable Reftest leak log in tinderbox (log); (Bv1b) Move leak log parsing code to automation.py.in from runtests.py.in; r=jwalden+bmo 2009-03-09 21:00:55 +01:00
Ben Turner
b603641c69 Bug 480279 - 'Allow mochitests to launch under a debugger or valgrind'. r=waldo. 2009-03-06 15:28:20 -08:00
Serge Gautherie
ab6bbc5585 Bug 480077 - automation.py.in : additional fix to bug 472706 for |runApp()| return value(s); (Bv1a) Replace external times by internal duration ++; r=jwalden+bmo 2009-03-05 19:01:39 +01:00
Jonas Sicking
8a0c1302d7 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking
987844b04b Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
a46eae8b8b Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Honza Bambas
e139fa17ee Bug 452401 - Create tests for mixed content, disabling the tests 2009-02-18 19:44:07 +01:00
Honza Bambas
e35cf3d5b5 Bug 452401 - Create tests for mixed content, r=kaie
--HG--
rename : security/manager/ssl/tests/mochitest/test_bug413909.html => security/manager/ssl/tests/mochitest/bugs/test_bug413909.html
2009-02-18 14:31:31 +01:00
bjarne@runitsoft.com
1ae4d38945 Bug #476185 - runtests.py should print stdout immediately. r=jwalden 2009-02-13 14:33:14 -08:00
Ted Mielczarek
dcf1c05701 bug 468913 - Need a Makefile target to run reftest. r=dbaron,bsmedberg,jwalden 2009-02-12 08:49:53 -05:00
Ted Mielczarek
f5d78477ff bug 476163 - consolidate makefile cruft for generating automation.py. r=bsmedberg
--HG--
rename : build/pgo/automation.py.in => build/automation.py.in
2009-02-12 08:49:53 -05:00
Robert Strong
cc7334b92d Bug 585838 - Disable update checks in any tests running in the browser. r=dtownsend, a=dtownsend 2010-08-12 19:07:18 -07:00