4210f7b9f69e6016a3c7a24d93574488d899910f
[WebKit-https.git] / LayoutTests / fast / animation / request-animation-frame-cancel.html
1 <!DOCTYPE html>
2 <html>
3 <span id="e">PASS</span>
4 <script>
5 if (window.layoutTestController)
6     layoutTestController.dumpAsText();
7
8 var e = document.getElementById("e");
9 var id = window.webkitRequestAnimationFrame(function() {
10     e.innerHTML = "FAIL";
11 }, e);
12
13 window.webkitCancelRequestAnimationFrame(id);
14
15 if (window.layoutTestController)
16     layoutTestController.display();
17 </script>