зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c327ca9308
Коммит
22a10e6ade
|
@ -59,6 +59,12 @@ var Assert = new AssertCls(function(err, message, stack) {
|
||||||
}
|
}
|
||||||
}, true);
|
}, 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) {
|
var _add_params = function(params) {
|
||||||
if (typeof _XPCSHELL_PROCESS != "undefined") {
|
if (typeof _XPCSHELL_PROCESS != "undefined") {
|
||||||
params.xpcshell_process = _XPCSHELL_PROCESS;
|
params.xpcshell_process = _XPCSHELL_PROCESS;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче