From 6a7663e2192be8132014d49131c20adf29e7e477 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 4 Jun 2010 13:28:19 -0400 Subject: [PATCH] Bug 563864 - Add some debugging output to figure out what's going on with test_mozPaintCount.html intermittent oranges (temporary test-only change) (transplanted from 9b29864cabd1b25cf5184d4f96ad75ff8ce99d4c) --HG-- extra : transplant_source : %9B%29%86L%AB%D1%B2%5C%F5%18MO%96%ADu%FF%8C%E9%9DL --- layout/base/tests/test_mozPaintCount.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/base/tests/test_mozPaintCount.html b/layout/base/tests/test_mozPaintCount.html index a063841bf23..ca102824308 100644 --- a/layout/base/tests/test_mozPaintCount.html +++ b/layout/base/tests/test_mozPaintCount.html @@ -17,9 +17,11 @@ SimpleTest.waitForExplicitFinish(); var startPaintCount = window.mozPaintCount; +ok(true, "Got to initial paint count: " + startPaintCount); var color = 0; function doFlicker() { + ok(true, "Iteration " + color + ", paint count: " + window.mozPaintCount); if (window.mozPaintCount - startPaintCount > 20) { ok(true, "Got enough paints"); SimpleTest.finish();