зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
bad44ca34f
Коммит
53b78e026a
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче