Log document visibility at each requestAnimationFrame call.
Merge pull request #658 from zhenyao/log

Log document visibility at each requestAnimationFrame call.