Home | History | Annotate | Download | only in assets
      1 <html>
      2 <head>
      3 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
      4 <script src="../fast/js/resources/js-test-pre.js"></script>
      5 <script>
      6     if (window.layoutTestController)
      7         layoutTestController.waitUntilDone();
      8 
      9     function walkAccessibilityTree(accessibilityObject) {
     10         var count = accessibilityObject.childrenCount;
     11         for (var i = 0; i < count; ++i)
     12             walkAccessibilityTree(accessibilityObject.childAtIndex(i));
     13     }
     14 
     15     function runTest() {
     16         description("This tests that having an anonymous render block in a continuation doesn't cause a crash when walking the accessibility tree.");
     17 
     18         window.root = accessibilityController.rootElement;
     19         walkAccessibilityTree(root);
     20 
     21         debug('
TEST COMPLETE'
); 22 if (window.layoutTestController) 23 layoutTestController.notifyDone(); 24 } 25 26 if (window.layoutTestController && window.accessibilityController) { 27 window.addEventListener('load', function() { 28 setTimeout(runTest, 10); 29 }, false); 30 } 31 </script> 32 </head> 33 <body> 34 35 <li><span>x<ul><li>y</ul></span>z</li> 36 37 End of test. 38 39 <p id="description"></p> 40 <div id="console"></div> 41 42 </body> 43 </html> 44