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
parent cfbf3c1afd
commit 4c153406a3

View File

@ -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);
}