1 description("Tests that requestAnimationFrame is disabled when the setting/preference is false. Note: since the setting is true by default, this usually can't be tested directly in a browser.");
3 var callbackInvoked = false;
4 window.requestAnimationFrame(function() {
5 callbackInvoked = true;
8 setTimeout(function() {
9 shouldBeFalse("callbackInvoked");
12 if (window.testRunner)
13 testRunner.waitUntilDone();
15 setTimeout(function() {
16 isSuccessfullyParsed();
17 if (window.testRunner)
18 testRunner.notifyDone();