Index: LayoutTests/accessibility/adjacent-continuations-cause-assertion-failure.html |
diff --git a/LayoutTests/accessibility/adjacent-continuations-cause-assertion-failure.html b/LayoutTests/accessibility/adjacent-continuations-cause-assertion-failure.html |
index 72b884b5d0f68d49b14849101893c513113c3d91..659fdcaca0773edb487cb0ef98fe53c7fc0a9d20 100644 |
--- a/LayoutTests/accessibility/adjacent-continuations-cause-assertion-failure.html |
+++ b/LayoutTests/accessibility/adjacent-continuations-cause-assertion-failure.html |
@@ -1,30 +1,8 @@ |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
<html> |
<head> |
-<script> |
- |
- function buildAccessibilityTree(accessibilityObject, indent) { |
- var str = ""; |
- for (var i = 0; i < indent; i++) |
- str += " "; |
- str += accessibilityObject.role; |
- str += " " + accessibilityObject.stringValue; |
- str += "\n"; |
- document.getElementById("tree").innerText += str; |
- |
- if (accessibilityObject.stringValue.indexOf('End of test') >= 0) |
- return false; |
- |
- var count = accessibilityObject.childrenCount; |
- for (var i = 0; i < count; ++i) { |
- if (!buildAccessibilityTree(accessibilityObject.childAtIndex(i), indent + 1)) |
- return false; |
- } |
- |
- return true; |
- } |
-</script> |
<script src="../resources/js-test.js"></script> |
+<script src="../resources/accessibility-helper.js"></script> |
</head> |
<body> |
@@ -33,7 +11,6 @@ |
<div>End of test</div> |
<p id="description"></p> |
-<pre id="tree"></pre> |
<div id="console"></div> |
<script> |