Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698