From db7c5538a4f6a2d4d50d63f20422b76b11f1c509 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 4 Jun 2010 13:28:19 -0400 Subject: [PATCH] Bug 569238 - Add some debugging information to determine what causes test_flush_on_paint.html to time out (temporary test-only change) (transplanted from 9624407a729c81c531c7ab3a49e7209ede5525e0) --HG-- extra : transplant_source : %96%24%40zr%9C%81%C51%C7%AB%3AI%E7%20%9E%DEU%25%E0 --- layout/base/tests/test_flush_on_paint.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/base/tests/test_flush_on_paint.html b/layout/base/tests/test_flush_on_paint.html index 651dc884a062..84da4c4cac23 100644 --- a/layout/base/tests/test_flush_on_paint.html +++ b/layout/base/tests/test_flush_on_paint.html @@ -31,14 +31,15 @@ invalidationLoop(); function doIteration() { lastPaintCount = plugin.getPaintCount(); + ok(true, "Beginning iteration " + iterations + ", last paint count: " + lastPaintCount); - var v = 255 - iterations; expectedWidth = 201 + iterations; plugin.style.width = expectedWidth + "px"; checkDone(); } function checkDone() { + ok(true, "Check to see if we're done: " + plugin.getPaintCount()); if (plugin.getPaintCount() == lastPaintCount) { setTimeout(checkDone, 30); return;