Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / animation / script-tests / request-animation-frame-cancel.js
blob401c97204be7dfec0c53cacc8a1d2ac4bdd0611e
1 description("This tests cancelling a requestAnimationFrame callback");
3 var callbackFired = false;
4 var e = document.getElementById("e");
5 var id = window.requestAnimationFrame(function() {
6     callbackFired = true;
7 }, e);
9 window.cancelAnimationFrame(id);
11 window.requestAnimationFrame(function() {
12     shouldBeFalse("callbackFired");
13     isSuccessfullyParsed();
14     if (window.testRunner)
15         testRunner.notifyDone();
16 });
18 if (window.testRunner)
19   testRunner.waitUntilDone();