Bug 587582 ReferenceError: gCurrStatus is not defined in various mailnews xpcshell-tests. r=bienvenu
This commit is contained in:
Родитель
41e09b298b
Коммит
a1f2bcb828
|
@ -160,8 +160,7 @@ function doTest(test)
|
|||
// Set a limit of three seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -195,8 +195,7 @@ function doTest(test)
|
|||
do_timeout(10000, function(){
|
||||
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -210,8 +210,7 @@ function doTest(test)
|
|||
// Set a limit in case the notifications haven't arrived (i.e. a problem)
|
||||
do_timeout(10000, function() {
|
||||
if(gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -71,8 +71,7 @@ function doTest(test)
|
|||
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -140,8 +140,7 @@ function doTest(test)
|
|||
// Set a limit of three seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -265,8 +265,7 @@ function doTest(test)
|
|||
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -169,8 +169,7 @@ function doTest(test)
|
|||
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -150,8 +150,7 @@ function doTest()
|
|||
do_timeout(10000, function()
|
||||
{
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -487,8 +487,7 @@ function doTest()
|
|||
do_timeout(10000, function()
|
||||
{
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -160,8 +160,7 @@ function doTest(test)
|
|||
do_timeout(10000, function()
|
||||
{
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -222,8 +222,7 @@ function doTest(test)
|
|||
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -197,8 +197,7 @@ function doTest(test)
|
|||
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -179,8 +179,7 @@ function doTest()
|
|||
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
|
@ -92,8 +92,7 @@ function doTest(test)
|
|||
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
|
||||
do_timeout_function(10000, function(){
|
||||
if (gCurTestNum == test)
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
|
||||
", current status is " + gCurrStatus);
|
||||
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
|
Загрузка…
Ссылка в новой задаче