fixing logic in pageload test for 2nd attempt case.

This commit is contained in:
mcafee%netscape.com 2002-07-26 19:10:58 +00:00
Родитель dd96debaf5
Коммит 62f9e76dd9
1 изменённых файлов: 7 добавлений и 3 удалений

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

@ -269,9 +269,13 @@ sub main {
"_x_x_mozilla_page_load",
",");
# Print failure message if we fail 2nd time.
unless($layout_time) {
TinderUtils::print_log "TinderboxPrint:Tp:[CRASH]\n";
if($layout_time) {
chomp($layout_time);
my @times = split(',', $layout_time);
$layout_time = $times[0]; # Set layout time to first number that we scraped.
} else {
# Print failure message if we fail 2nd time.
TinderUtils::print_log "TinderboxPrint:Tp:[CRASH]\n";
}
}