| Index: LayoutTests/accessibility/table-with-empty-thead-causes-crash.html
|
| diff --git a/LayoutTests/accessibility/table-with-empty-thead-causes-crash.html b/LayoutTests/accessibility/table-with-empty-thead-causes-crash.html
|
| index 5fde24316734b8c06f1a6bd66e836dafd2dec242..2661a5a875f26b225f8763a4424cbc0f51b91182 100644
|
| --- a/LayoutTests/accessibility/table-with-empty-thead-causes-crash.html
|
| +++ b/LayoutTests/accessibility/table-with-empty-thead-causes-crash.html
|
| @@ -1,17 +1,8 @@
|
| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| <html>
|
| <head>
|
| -<script>
|
| -
|
| - function buildAccessibilityTree(accessibilityObject) {
|
| - accessibilityObject.isEnabled
|
| -
|
| - var count = accessibilityObject.childrenCount;
|
| - for (var i = 0; i < count; ++i)
|
| - buildAccessibilityTree(accessibilityObject.childAtIndex(i));
|
| - }
|
| -</script>
|
| <script src="../resources/js-test.js"></script>
|
| +<script src="../resources/accessibility-helper.js"></script>
|
| </head>
|
| <body>
|
|
|
| @@ -29,7 +20,7 @@
|
|
|
| if (window.accessibilityController) {
|
| document.body.focus();
|
| - buildAccessibilityTree(accessibilityController.focusedElement);
|
| + generateAccessibilityTree(accessibilityController.focusedElement);
|
| }
|
|
|
| </script>
|
|
|