1 description("Tests adding one callback within another");
3 var e = document.getElementById("e");
5 window.webkitRequestAnimationFrame(function() {
8 window.webkitRequestAnimationFrame(function() {
9 window.webkitRequestAnimationFrame(function() {
10 shouldBeFalse("sameFrame");
13 window.webkitRequestAnimationFrame(function() {
17 // This should fire the three already registered callbacks, but not the one dynamically registered.
18 if (window.layoutTestController)
19 layoutTestController.display();
20 // This should fire the dynamically registered callback.
21 if (window.layoutTestController)
22 layoutTestController.display();
24 if (window.layoutTestController)
25 layoutTestController.waitUntilDone();
27 setTimeout(function() {
28 isSuccessfullyParsed();
29 if (window.layoutTestController)
30 layoutTestController.notifyDone();