From 04ccb998f9b0b64ceb753719717e1c29ce022fa9 Mon Sep 17 00:00:00 2001 From: "anodelman%mozilla.com" Date: Fri, 28 Sep 2007 20:27:52 +0000 Subject: [PATCH] Bug 397831 - -tprender option in pageloader should limit output to render data. a=anodelman, r=vladimir --- layout/tools/pageloader/pageloader.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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));