diff --git a/layout/tools/pageloader/pageloader.js b/layout/tools/pageloader/pageloader.js index 6ac4c3a81b1..0ed10941cda 100644 --- a/layout/tools/pageloader/pageloader.js +++ b/layout/tools/pageloader/pageloader.js @@ -295,10 +295,11 @@ function plStop(force) { var formats = reportFormat.split(","); - for each (var fmt in formats) - dumpLine(report.getReport(fmt)); - - if (renderReport) { + if (!renderReport) { + for each (var fmt in formats) + dumpLine(report.getReport(fmt)); + } + else { dumpLine ("*************** Render report *******************"); for each (var fmt in formats) dumpLine(renderReport.getReport(fmt));