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
This commit is contained in:
Ehsan Akhgari 2010-06-04 13:28:19 -04:00
Родитель dfb134a585
Коммит ba9fb189e6
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -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();