Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / events / check-defocus-event-order-when-triggered-by-tab.html
index d52cbb4..f3b8d2c 100644 (file)
@@ -1,11 +1,10 @@
 <html>
 <head>
-<link rel="stylesheet" href="../js/resources/js-test-style.css">
 <script src="../js/resources/js-test-pre.js"></script>
 <script src="resources/record-events.js"></script>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = runTest;
 
@@ -39,7 +38,6 @@ function runTest()
     description("This test checks that when a user focuses on the &quot;first input&quot; text field, modifies its contents, and then " +
                 "defocuses it by pressing the tab key that the following DOM events are fired in order: Focus, Change, Blur, Focus " +
                 "(on &quot;second input&quot;). Note, this test must be run by Dump Render Tree.");
-    var successfullyParsed = true;
 </script>
 </body>
 </html>