Commit Graph

190 Commits

Author SHA1 Message Date
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Marco Bonardo
56b7adb200 Bug 1332295 - do_register_cleanup should support generators and async functions. r=ted
MozReview-Commit-ID: BPCwPlWQ8G0
2017-01-19 16:07:46 +01:00
Phil Ringnalda
70924b035a Backed out changeset c13c36e04303 (bug 1332295) for extremely frequent Linux32 debug failures in test_be_conservative.js 2017-02-05 18:18:09 -08:00
Greg Mierzwinski
a9323edf9f Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.

MozReview-Commit-ID: 97VFkJmlwQn
2016-11-08 15:57:21 -05:00
Marco Bonardo
e09a568ade Bug 1332295 - do_register_cleanup should support generators and async functions. r=ted
MozReview-Commit-ID: BPCwPlWQ8G0
2017-01-19 16:07:46 +01:00
Mark Banner
ee78c2e613 Bug 503613 - Remove the tail file functionality from xpcshell; r=gps
MozReview-Commit-ID: JcglhFl89DX
2017-01-17 15:27:55 +00:00
Mythmon
0a8023ce47 Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
MozReview-Commit-ID: KNTGKOFXDlH
2016-10-10 16:14:56 -07:00
Sebastian Hengst
1d4dfdf50e Backed out changeset a53f5aa00347 (bug 1308656) for syntax error in browser_dbg_searchbox-parse.js (line cut off). r=backout 2016-12-21 09:44:17 +01:00
Mythmon
8c64984947 Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
MozReview-Commit-ID: KNTGKOFXDlH
2016-10-10 16:14:56 -07:00
Dale Harvey
5c3d1cfe93 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Thomas Wisniewski
07c99db971 Bug 717566 - Remove use of parseFromStream in xpcshell head.js and android robocop_head.js. r=jmaher 2016-08-20 14:18:55 -04:00
Greg Mierzwinski
72206ec001 Bug 1282599 - Pass test path as a string to xpcshell coverage collector. r=chmanchester
The test file path is now recorded by the coverage collector as a string rather than a single element array.

MozReview-Commit-ID: 9qW0tAKmqMS
2016-06-27 18:17:41 -04:00
Greg Mierzwinski
4cc8cf9258 Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester
This adds the ability to use the command line flag '--jscov-dir-prefix' to collect javascript code coverage from xpcshell tests and output it into the specified directory as a JSON file.

MozReview-Commit-ID: 3MZm73SNChL
2016-06-08 09:41:04 -04:00
Jan Varga
e6e5ce2cf2 Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth 2016-06-15 11:49:04 +01:00
Kyle Huey
ce5451c01a Bug 1246828 - Part 2: Main changes, quota manager shutdown pushed back to profile-before-change2; r=asuth 2016-06-15 11:48:50 +01:00
Wes Kocher
4d8a0aa516 Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE 2016-02-10 13:40:41 -08:00
Kyle Huey
44c38f9ae0 Bug 1246828: Push QuotaManager shutdown back to profile-before-change2 2016-02-10 10:53:26 -08:00
Paolo Amadini
ed28d1b8f2 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Marco Bonardo
85f2ef586c Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted 2016-02-03 12:35:07 +01:00
Wes Kocher
c8dce5079f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage 2016-02-01 08:25:19 -08:00
Paolo Amadini
743e1ad1ea Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-30 18:53:56 +00:00
Phil Ringnalda
2f2864cc29 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
4aac6813ea Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-29 13:19:53 +00:00
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