1 description("This tests cancelling a requestAnimationFrame callback");
3 var callbackFired = false;
4 var e = document.getElementById("e");
5 var id = window.requestAnimationFrame(function() {
9 window.cancelAnimationFrame(id);
11 window.requestAnimationFrame(function() {
12 shouldBeFalse("callbackFired");
13 isSuccessfullyParsed();
14 if (window.testRunner)
15 testRunner.notifyDone();
18 if (window.testRunner)
19 testRunner.waitUntilDone();