blob: 16d479fc0fab91b2dfe68e58d2134cab3b996c8c [file]
description("Tests basic use of requestAnimationFrame");
var e = document.getElementById("e");
var callbackInvoked = false;
window.webkitRequestAnimationFrame(function() {
callbackInvoked = true;
}, e);
if (window.testRunner)
testRunner.display();
setTimeout(function() {
shouldBeTrue("callbackInvoked");
}, 100);
if (window.testRunner)
testRunner.waitUntilDone();
setTimeout(function() {
isSuccessfullyParsed();
if (window.testRunner)
testRunner.notifyDone();
}, 200);