<script>
    function doWork(timestamp) {
        window.top.postMessage('subFrameRAFMessage', '*');
        window.requestAnimationFrame(doWork);
    }
    window.requestAnimationFrame(doWork);
</script>
