Reproducible null deref under ScriptedAnimationController::createDisplayRefreshMonitor
[WebKit-https.git] / LayoutTests / fast / animation / request-animation-frame-iframe.html
index 9a2336d..0251c28 100644 (file)
@@ -1,28 +1,25 @@
 <!DOCTYPE html>
 <html>
 <head>
-<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
 </head>
 <body>
-    <p id="description"></p>
-    <div id="console"></div>
     <iframe src="script-tests/request-animation-frame-subframe.html" width="700" height="500"></iframe>
     <script type="text/javascript" charset="utf-8">
         description("Tests requestAnimationFrame in an iframe");
 
         var callbackInvoked = false;
     
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
 
         // Called from subframe.
         function doDisplay()
         {
-            if (window.layoutTestController)
-                layoutTestController.display();
+            if (window.testRunner)
+                testRunner.display();
         }
     
         function doCheckResult()
         function doTestDone()
         {
             isSuccessfullyParsed();
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
-
-        var successfullyParsed = true;
     </script>
-
-    <script src="../js/resources/js-test-post-function.js"></script>
 </body>
 </html>