mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1505553 add record to xpcshell tests for use in extension tests, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11248 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c327ca9308
commit
22a10e6ade
@ -59,6 +59,12 @@ var Assert = new AssertCls(function(err, message, stack) {
|
||||
}
|
||||
}, true);
|
||||
|
||||
// Bug 1506134 for followup. Some xpcshell tests use ContentTask.jsm, which
|
||||
// expects browser-test.js to have set a testScope that includes record.
|
||||
function record(condition, name, diag, stack) {
|
||||
do_report_result(condition, name, stack);
|
||||
}
|
||||
|
||||
var _add_params = function(params) {
|
||||
if (typeof _XPCSHELL_PROCESS != "undefined") {
|
||||
params.xpcshell_process = _XPCSHELL_PROCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user