зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 75cc30c9a401 (bug 1145049)
This commit is contained in:
Родитель
7f5236111a
Коммит
ad5590e1ec
|
@ -909,9 +909,9 @@ function testScope(aTester, aTest, expected) {
|
|||
|
||||
var self = this;
|
||||
this.ok = function test_ok(condition, name, diag, stack) {
|
||||
if (self.__expected == 'fail') {
|
||||
if (this.__expected == 'fail') {
|
||||
if (!condition) {
|
||||
self.__num_failed++;
|
||||
this.__num_failed++;
|
||||
condition = true;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче