4 <script src="../js/resources/js-test-pre.js"></script>
7 <iframe src="script-tests/request-animation-frame-subframe.html" width="700" height="500"></iframe>
8 <script type="text/javascript" charset="utf-8">
9 description("Tests requestAnimationFrame in an iframe");
11 var callbackInvoked = false;
13 if (window.layoutTestController) {
14 layoutTestController.dumpAsText();
15 layoutTestController.waitUntilDone();
18 // Called from subframe.
21 if (window.layoutTestController)
22 layoutTestController.display();
25 function doCheckResult()
27 shouldBeTrue("callbackInvoked");
32 isSuccessfullyParsed();
33 if (window.layoutTestController)
34 layoutTestController.notifyDone();