зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1214518 - B2G RIL: wait for emulator pending command before calling finish(). r=echen
--HG-- extra : commitid : KD3dGA1IRve
This commit is contained in:
Родитель
07ae537809
Коммит
94ae9b0eda
|
@ -302,7 +302,7 @@ function cleanUp() {
|
|||
function startTestBase(aTestCaseMain) {
|
||||
Promise.resolve()
|
||||
.then(aTestCaseMain)
|
||||
.then(finish, function(aException) {
|
||||
.then(cleanUp, function(aException) {
|
||||
ok(false, "promise rejects during test: " + aException);
|
||||
cleanUp();
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче