Bug 956385 - Don't count non-matching messages toward the total. r=ted

This commit is contained in:
Bobby Holley 2014-01-30 09:30:28 -08:00
parent c26badfb98
commit 6a6595d1c0

View File

@ -892,6 +892,7 @@ SimpleTest.monitorConsole = function (continuation, msgs, forbidUnexpectedMsgs)
info("monitorConsole | [" + counter + "] " +
(matches ? "matched " : "did not match ") + JSON.stringify(msg));
}
if (matches)
counter++;
}
SpecialPowers.registerConsoleListener(listener);