Bug 540363 - Make reftest dump INFO line indicating beginning of each test (to help understand timeouts/hangs/crashes). r=dbaron

This commit is contained in:
Jesse Ruderman 2010-01-18 15:00:16 -08:00
Родитель bad44ca34f
Коммит 53b78e026a
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -583,6 +583,7 @@ function StartCurrentURI(aState)
// there's already a canvas for this URL
setTimeout(DocumentLoaded, 0);
} else {
dump("REFTEST INFO | Loading " + gCurrentURL + "\n");
gBrowser.loadURI(gCurrentURL);
}
}
@ -1098,6 +1099,7 @@ function FinishTestItem()
{
// Replace document with BLANK_URL_FOR_CLEARING in case there are
// assertions when unloading.
dump("REFTEST INFO | Loading a blank page\n");
gClearingForAssertionCheck = true;
gBrowser.loadURI(BLANK_URL_FOR_CLEARING);
}