mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
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:
parent
dfb134a585
commit
ba9fb189e6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user