2 if (window
.testRunner
) {
3 window
.testRunner
.dumpAsText();
4 window
.testRunner
.waitUntilDone();
8 var id
= window
.requestAnimationFrame(function () {});
9 var results
= document
.getElementById("results");
12 results
.innerText
= "PASSED: Callback id was > 0";
14 results
.innerText
= "FAILED: Callback id was <= 0";
16 if (window
.testRunner
)
17 window
.testRunner
.notifyDone();
20 window
.addEventListener("load", runTest
, false);
22 <div id=
"results"></div>