Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / textbox-role-reports-selection.html
index 5436b50..dba10fe 100644 (file)
@@ -1,10 +1,7 @@
 <!DOCTYPE HTML PUBLIC>
 <html>
 <head>
-<script>
-var successfullyParsed = false;
-</script>
-<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="../resources/js-test.js"></script>
 </head>
 <body>
 This tests that the AXSelection property is correctly reported for non-native text boxes.<br>
@@ -38,8 +35,7 @@ This tests that the AXSelection property is correctly reported for non-native te
         assertEvaluatesTo("axSelection", selection, message);
     }
 
-    if (window.layoutTestController && window.accessibilityController) {
-        window.layoutTestController.dumpAsText();
+    if (window.testRunner && window.accessibilityController) {
         var ariaTextBox = document.getElementById("ariaTextBox");
         var textLength = ariaTextBox.textContent.length;
 
@@ -51,9 +47,6 @@ This tests that the AXSelection property is correctly reported for non-native te
         assertCorrectAXSelection(ariaTextBox, "{15, "+ (textLength - 15) + "}", "Non-collapsed selection at the end");
     }
 
-    successfullyParsed = true;
 </script>
-
-<script src="../fast/js/resources/js-test-post.js"></script>
 </body>
 </html>