Commit Graph
159 Commits
Author SHA1 Message Date
Philipp Kewisch 957291e6f5 Bug 1192533 - Allow running only one test via add_task.only() or skipping via add_task.skip(). r=ted 2016-01-10 16:40:12 +01:00
J. Ryan Stinnett 38842662f0 Bug 1231759 - Explain DevTools appdir issue when debugging xpcshell. r=Gijs 2015-12-15 10:14:31 -06:00
Alexandre Poirot d5e749cdc0 Bug 1113865 - Replace all calls to dbg_assert with DevToolsUtils.assert. r=fitzgen 2015-11-16 07:22:49 -08:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Shu-yu Guo 05b495be74 Bug 1202902 - Support non-syntactic extensible lexical scopes. (r=billm) 2015-10-06 14:00:29 -07:00
Tooru Fujisawa c657834819 Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher 2015-09-23 18:42:19 +09:00
Andrew Halberstadt 0328985a1e Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester 2015-09-04 14:37:32 -04:00
Dave Townsend 6186552d07 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.
2015-09-10 10:57:39 -07:00
Wes Kocher 69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend a19b5df33c Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.
2015-09-10 10:57:39 -07:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Nick Fitzgerald f38360ddbb Bug 1200446 - Add a method for saving heap snapshots to MemoryActor; r=jryans 2015-09-04 18:36:52 -07:00
Gijs Kruitbosch d33026dde6 Bug 1198716 - fix xpcshell --jsdebugger argument, r=jryans 2015-08-26 21:57:24 +01:00
Hiroyuki Ikezoe ef939ac4ca Bug 1150818 - Part 2: Load mozinfo.json into xpcshell tests. r=ted 2015-08-20 16:06:00 -04:00
Alexandre Poirot 0939709730 Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
Alessio Placitelli 4bccae9113 Bug 1168835 - Add test coverage for pending-pings quota. r=gfritzsche 2015-07-20 08:46:00 +02:00
Michael Layzell 54fffe9f2f Bug 1173503 - Make do_check_true output include the passed message in xpcshell unit tests r=ted 2015-06-19 14:27:37 -07:00
Alessio Placitelli f5c81de500 Bug 1169159 - Make xpcshells run_test_in_child() and do_await_remote_message() return promises. r=ted,gfritzsche 2015-06-03 04:41:00 +02:00
Ryan VanderMeulen 106ef831da Backed out changeset a3d6ad2faa3a (bug 996652) for checktest bustage. 2015-05-25 12:11:07 -04:00
Ravi Shankar 41c072c43c Bug 996652 - Scope the private symbols of head.js. r=Yoric, r=Ted 2015-05-22 11:36:00 -04:00
ziyunfei 649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe 398b012fba Bug 1150822 - Need ability to skip each test on a given conditions. r=ted 2015-04-27 20:39:00 +02:00
Georg Fritzsche 82d96d81d8 Bug 885389 - Make do_get_profile() optionally fire profile-after-change on completion. r=ted 2015-04-21 16:30:36 +02:00
Georg Fritzsche c971ca2481 Bug 1150134 - Part 3: Avoid hitting the network from Telemetry for xpcshell tests. r=yoric 2015-04-14 16:49:57 +02:00
Ted Mielczarek a6434d2aa8 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.
2015-04-03 08:20:32 -04:00
Krishnashish Gogoi 9a2eacabca Bug 982852 - Make run_test() in xpcshell-tests optional; r=gps
As referenced in Bug 982852, this fix makes run_tests() optional.
Test cases can now consist of add_test() and add_task() calls
without the need to exclusively set up a run_test() just to call
run_next_test() inside it. If run_test() however is defined, it
will be called directly as usual, which should keep all older
tests working without breaking.

Since most run_test() calls right now are mostly boilerplate and
usually are of the form -- function run_test(){run_next_test();} --
this fix checks if run_test is defined by using the typeof operator
which should evaluate to "function" if it is defined. If defined,
it is called straight away, otherwise, run_next_test() is called,
which is what run_test() usually does when used as a set up to
call tests registered by add_test() and add_task().
2015-04-02 22:32:18 +05:30
Brian Grinstead f42794aa62 Bug 1148996 - Remove selected lightweight theme for mochitest and xpcshell tests;r=jmaher
This is for aurora (dev edition) compatibility.  In this channel, there is a
selected lightweight theme by default.  Tests don't expect this to be the case
so this simply resets the relevant prefs for mochitests and xpcshell tests.
2015-03-31 20:01:04 -07:00
Eddy Bruël f84726d90c Bug 1141507 - Some preliminary refactors;r=jlong 2015-03-26 20:15:36 +01:00
Eddy Bruël 70d0d8884e Bug 1131646 - Clean up the breakpoint code;r=jlongster 2015-03-11 15:15:40 +01:00
Alexandre Poirot b9112cb8a8 Bug 1059308 - Fix tests to support chrome actor. r=jryans 2015-02-26 03:56:00 +01:00
Alessio Placitelli 8dce0b9487 Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Chris Peterson 345e15ebad Bug 1129336 - Remove nonstandard let blocks from testing/xpcshell. r=chmanchester 2015-01-24 23:34:40 -08:00
Chris Manchester b390f6fd86 Bug 1128584 - Only log valid status values when processing errors in xpcshell's head.js;r=ted 2015-02-02 13:32:49 -05:00
Eddy Bruël 3ed1e5e0c5 Bug 1126193 - setBreakpoint should not take a full location;r=fitzgen 2015-02-04 07:42:33 +01:00
J. Ryan Stinnett c807377365 Bug 1103120 - Part 8: Server: Use promises and results in allowConnection. r=past 2015-01-26 12:47:13 -06:00
J. Ryan Stinnett 1d5991da39 Bug 1103120 - Part 6: Server: Move allowConnection to authenticator. r=past 2015-01-26 12:47:13 -06:00
Mark Hammond 22bdf51608 Bug 1116708 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 10:00:05 +11:00
Mark Hammond bf2bdc12e1 Backout 40b7a74be389 due to wrong bug number in commit message 2015-01-09 09:56:25 +11:00
Mark Hammond d98e08fbcc Bug 1117001 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 09:53:34 +11:00
Mark Hammond 42336d7071 Bug 1109563 - fix xpshell-test debugging. r=past 2014-12-11 19:13:12 +11:00
J. Ryan Stinnett c59b7e3a97 Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
J. Ryan Stinnett 6d3262b378 Bug 1058997 - Part 3b: Update non-trivial security prompts. r=past 2014-12-01 22:55:56 -08:00
Mark Hammond a0302a0353 Bug 809561 - Integrate xpcshell test harness with chrome remote debugging. r=past/chmanchester 2014-11-29 10:40:58 +11:00
Chris Manchester 79e58e8dea Bug 1093834 - Ensure _TEST_NAME is passed to the child process in xpcshell's head.js. r=ted 2014-11-04 20:02:13 -05:00
Chris Manchester 417bb77650 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Boris Zbarsky 1465eb84df Bug 1082843. Don't import Promise.jsm into the global scope in xpcshell tests. r=yoric 2014-10-15 00:42:54 -04:00
David Rajchenbach-Teller 964de47f06 Bug 1059329 - Remove spurious 'System JS : ERROR' in xpcshell. r=ted 2014-08-28 03:09:00 -04:00
Aseem Raj Baranwal dbec290840 Bug 1050877 - media.gmp-manager.url should mention GMP. r=jmaher 2014-08-26 01:53:47 +05:30
Georg Fritzsche af284991cf Bug 1042161 - Set dummy URL for GMP addon updates for xpcshell tests. r=jmaher 2014-08-08 17:46:25 +02:00