Marco Bonardo
1009bebc90
Bug 1332295 - do_register_cleanup should support generators and async functions. r=ted
...
MozReview-Commit-ID: BPCwPlWQ8G0
--HG--
extra : rebase_source : db1099f2f1c681e30ca35367b9098d9c28cd1ae1
2017-01-19 16:07:46 +01:00
Phil Ringnalda
f5077ad52f
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
d034427bd2
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
--HG--
extra : rebase_source : 26c841f5a68f927889c0903e701bfde4b7ca84ac
2016-11-08 15:57:21 -05:00
Marco Bonardo
6fb7192a8a
Bug 1332295 - do_register_cleanup should support generators and async functions. r=ted
...
MozReview-Commit-ID: BPCwPlWQ8G0
--HG--
extra : rebase_source : db1099f2f1c681e30ca35367b9098d9c28cd1ae1
2017-01-19 16:07:46 +01:00
Mark Banner
9d595b6142
Bug 503613 - Remove the tail file functionality from xpcshell; r=gps
...
MozReview-Commit-ID: JcglhFl89DX
--HG--
extra : rebase_source : e268c51b9124cebdc7dd39999bc5ac9ad466b1d8
extra : histedit_source : ee311347d6ce83466f926662392f63b3089a103c
2017-01-17 15:27:55 +00:00
Mythmon
a443eb66e9
Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
...
MozReview-Commit-ID: KNTGKOFXDlH
--HG--
extra : rebase_source : 5b7ac9e5a1c004b1123b852e7b59729357a1dae8
2016-10-10 16:14:56 -07:00
Sebastian Hengst
2b7a18a819
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
069756ae83
Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
...
MozReview-Commit-ID: KNTGKOFXDlH
--HG--
extra : rebase_source : 408eff9e6047ad03fa02a3b962c11835fc88c562
2016-10-10 16:14:56 -07:00
Dale Harvey
b694c34086
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
9ea1febf1c
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
5a4b2e86e4
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
--HG--
extra : rebase_source : a03f8fe2a9736ec41c72cad083da6a6142d343ad
2016-06-27 18:17:41 -04:00
Greg Mierzwinski
5537afe36b
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
--HG--
extra : transplant_source : c%9B%DE%A93w%E7%11%89%BE-%E8%D9%18%BC%12z%0A%0E%E4
2016-06-08 09:41:04 -04:00
Jan Varga
2d1e6d62c8
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
a43998c8bf
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
b899130873
Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE
...
--HG--
extra : commitid : 8sSr108Ob73
2016-02-10 13:40:41 -08:00
Kyle Huey
dd361add99
Bug 1246828: Push QuotaManager shutdown back to profile-before-change2
2016-02-10 10:53:26 -08:00
Paolo Amadini
8b8676204b
Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
...
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Marco Bonardo
00fe34957a
Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted
...
--HG--
extra : commitid : 725U9rSPg8q
2016-02-03 12:35:07 +01:00
Wes Kocher
1b65a8ee2f
Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
...
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini
ecd744bdef
Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
...
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda
d42eb10039
Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js
2016-01-29 20:12:44 -08:00
Paolo Amadini
aceee7aafc
Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
...
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Philipp Kewisch
1f1671ee48
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
84886db8e6
Bug 1231759 - Explain DevTools appdir issue when debugging xpcshell. r=Gijs
...
--HG--
extra : rebase_source : f8bb0a223fff0cf2555188700bccdb2f80b115f3
2015-12-15 10:14:31 -06:00
Alexandre Poirot
02e511006d
Bug 1113865 - Replace all calls to dbg_assert with DevToolsUtils.assert. r=fitzgen
2015-11-16 07:22:49 -08:00
J. Ryan Stinnett
986f2a5cde
Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau
2015-10-21 12:48:53 -05:00
Shu-yu Guo
76da4d1112
Bug 1202902 - Support non-syntactic extensible lexical scopes. (r=billm)
2015-10-06 14:00:29 -07:00
Tooru Fujisawa
c09bf851bf
Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher
...
--HG--
extra : commitid : JE0Z0vdpjeI
extra : rebase_source : 3aa4d858e141afceec370343630ebd1d6f2a0d52
2015-09-23 18:42:19 +09:00
Andrew Halberstadt
5330ac1f89
Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester
...
--HG--
extra : commitid : 5hwiCNY4xAI
extra : rebase_source : 4f72ebe622669bb4f5df2c0be40d156e91c229f3
2015-09-04 14:37:32 -04:00
Dave Townsend
7c204151f3
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.
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : Ex9NNNduxhK
extra : rebase_source : 99088404019f53a8a76105c66edce404f2c7e454
2015-09-10 10:57:39 -07:00
Wes Kocher
468b697f04
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)
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
d039cf8d34
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.
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : CuRP3svf6aO
extra : rebase_source : 0a67da41a0a7b27ecb042875ebf13b7b69ec5c84
extra : histedit_source : e96ecd9a4a56e503b4df0e2a0ecd1ac82a716a66
2015-09-10 10:57:39 -07:00
J. Ryan Stinnett
efe328f1b2
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.
--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Shu-yu Guo
64db2267cf
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
7af93cdc2a
Bug 1200446 - Add a method for saving heap snapshots to MemoryActor; r=jryans
2015-09-04 18:36:52 -07:00
Gijs Kruitbosch
75c948317e
Bug 1198716 - fix xpcshell --jsdebugger argument, r=jryans
...
--HG--
extra : commitid : JlmsELDMNm0
extra : rebase_source : cb9d862553b54adb24b53bc5b9fab9e669a20686
extra : histedit_source : 579669f9bb50f53237b8e08334b36ab39d9e34e0
2015-08-26 21:57:24 +01:00
Hiroyuki Ikezoe
d0b622ad0f
Bug 1150818 - Part 2: Load mozinfo.json into xpcshell tests. r=ted
2015-08-20 16:06:00 -04:00
Alexandre Poirot
9c0a24f39a
Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans
2015-08-10 05:38:56 -07:00
Alessio Placitelli
5470b35b29
Bug 1168835 - Add test coverage for pending-pings quota. r=gfritzsche
2015-07-20 08:46:00 +02:00
Michael Layzell
143cb59a10
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
61d2710314
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
bc35b6ea2d
Backed out changeset a3d6ad2faa3a (bug 996652) for checktest bustage.
2015-05-25 12:11:07 -04:00
Ravi Shankar
2c2f498405
Bug 996652 - Scope the private symbols of head.js. r=Yoric, r=Ted
2015-05-22 11:36:00 -04:00
ziyunfei
e1db0f779e
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
fc6e6e9d62
Bug 1150822 - Need ability to skip each test on a given conditions. r=ted
2015-04-27 20:39:00 +02:00
Georg Fritzsche
3dd8b71099
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
3bb6a9ea3f
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
fb4b821e19
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.
--HG--
extra : rebase_source : 24b04d619891ec95e5df23a2eb7f3277dd3206b2
extra : amend_source : 72139cecdcd695171e2fd0ce8ea7be91c1eebd1a
2015-04-03 08:20:32 -04:00
Krishnashish Gogoi
a80b42da44
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().
--HG--
extra : rebase_source : 7cfbf30a67e3a8d088f8409edcdde8976f46b941
2015-04-02 22:32:18 +05:30
Brian Grinstead
9dbf84b0a5
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