Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / content-changed-notification-causes-crash.html
bloba7c8e4f31fd526c26ecc586eefcbda71f27474ca
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/ahem.js"></script>
5 <script src="../resources/js-test.js"></script>
6 </head>
7 <body>
9 <div id="group" tabindex="0">
11 <ul role=textbox style='-webkit-transition: -webkit-transform linear 1117401740208157342s; content: counters(c, ".", disc); '>><keygen autofocus="">><body style='outline-style: ridge; font: normal normal 29266em/9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 Ahem, serif; '>
13 </div>
15 <p id="description"></p>
16 <div id="console"></div>
18 <script>
19 onload = function() {
20 description("Ensures that this snippet does not lead to a crash. Bug 86029.");
22 function walkAccessibilityTree(accessibilityObject) {
23 var count = accessibilityObject.childrenCount;
24 for (var i = 0; i < count; ++i)
25 accessibilityObject.childAtIndex(i);
28 if (window.accessibilityController) {
30 document.getElementById("group").focus();
31 var focusedElement = accessibilityController.focusedElement;
32 walkAccessibilityTree(focusedElement);
34 document.getElementById('console').innerHTML += "PASS. WebKit did not crash.<br>";
37 </script>
39 </body>
40 </html>