зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
3637a95237
Коммит
6a7663e219
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче