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

Side by Side Diff: LayoutTests/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/accessibility/add-to-menu-list-crashes-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 6
7 <script> 7 <script>
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 </script> 10 </script>
11 11
12 <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 trig ger a crash when didUpdateActiveOption is called before the children are updated .</p> 12 <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 trig ger a crash when didUpdateActiveOption is called before the children are updated .</p>
13 <div id="console"></div> 13 <div id="console"></div>
(...skipping 13 matching lines...) Expand all
27 if (window.testRunner && window.accessibilityController) 27 if (window.testRunner && window.accessibilityController)
28 shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "2"); 28 shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "2");
29 </script> 29 </script>
30 <script> 30 <script>
31 menulist.removeChild(menulist.selectedOptions[0]); 31 menulist.removeChild(menulist.selectedOptions[0]);
32 if (window.testRunner && window.accessibilityController) 32 if (window.testRunner && window.accessibilityController)
33 shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "1"); 33 shouldBe("accessibleMenulist.childAtIndex(0).childrenCount", "1");
34 </script> 34 </script>
35 </select> 35 </select>
36 36
37 <script src="../../../fast/js/resources/js-test-post.js"></script> 37 <script src="../fast/js/resources/js-test-post.js"></script>
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/add-to-menu-list-crashes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698