| Index: LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes.html
|
| diff --git a/LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes.html b/LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes.html
|
| deleted file mode 100644
|
| index aecb4e5a0d0e75e2b4c8f0c9d78130f7c9dda651..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes.html
|
| +++ /dev/null
|
| @@ -1,40 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../fast/js/resources/js-test-pre.js"></script>
|
| -</head>
|
| -<body>
|
| -
|
| -<script>
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -</script>
|
| -
|
| -<p id="description">This test makes sure that adding a selected option to a menu list via an unusual route (document.write from an external script) doesn't trigger a crash when didUpdateActiveOption is called before the children are updated.</p>
|
| -<div id="console"></div>
|
| -
|
| -<select id="menulist">
|
| - <option>1</option>
|
| - <script>
|
| - window.menulist = document.getElementById("menulist");
|
| - menulist.focus();
|
| - if (window.testRunner && window.accessibilityController) {
|
| - window.accessibleMenulist = accessibilityController.focusedElement;
|
| - shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "1");
|
| - }
|
| - </script>
|
| - <script src="data:text/javascript,document.write('<option selected>2');"></script>
|
| - <script>
|
| - if (window.testRunner && window.accessibilityController)
|
| - shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "2");
|
| - </script>
|
| - <script>
|
| - menulist.removeChild(menulist.selectedOptions[0]);
|
| - if (window.testRunner && window.accessibilityController)
|
| - shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "1");
|
| - </script>
|
| -</select>
|
| -
|
| -<script src="../../../fast/js/resources/js-test-post.js"></script>
|
| -
|
| -</body>
|
| -</html>
|
|
|