Bug 397004 - pageloader won't work with -tpchrome and self timing. a=anodelman, r=vladimir

This commit is contained in:
anodelman@mozilla.com 2007-09-21 14:43:17 -07:00
Родитель 57400fe27e
Коммит 9856519547
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -150,7 +150,6 @@ function plInit() {
browserWindow.focus();
content = browserWindow.getBrowser();
content.addEventListener('load', plLoadHandler, true);
setTimeout(plLoadPage, 100);
}, 500);
};
@ -182,7 +181,7 @@ function plLoadPage() {
removeLastAddedListener();
if (plPageFlags() & TEST_DOES_OWN_TIMING) {
// if the page does its own timing, use a capturig handler
// if the page does its own timing, use a capturing handler
// to make sure that we can set up the function for content to call
content.addEventListener('load', plLoadHandlerCapturing, true);
removeLastAddedListener = function() {