Throttle RequestAnimationFrame in subframes that are outside the viewport
[WebKit-https.git] / LayoutTests / fast / animation / resources / requestAnimationFrame-frame.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <iframe id="grandChildFrame" src="requestAnimationFrame-frame-2.html"></iframe>
5 <script>
6 var i = 0;
7 requestAnimationFrame(function() {
8   i++;
9 });
10 </script>
11 </body>
12 </html>