Home | History | Annotate | Download | only in leaks
      1 <p>This test exercises RenderBlock::bidiReorderCharacters in a specific way to 
      2 test for BidiRun leaks as reported in rdar://problem/4987649. Its layout has no
      3 particular meaning.
      4 </p>
      5 <div><input type='file' id='input'></input></div>
      6 <iframe id='iframe' src="data:text/html,<input type='file' id='input'></input>"></iframe>
      7 
      8 <script>
      9 window.onload = function main() 
     10 {
     11     if (window.layoutTestController)
     12         layoutTestController.dumpAsText();
     13 
     14     // Repeat, to generate lots of leaks.
     15     for (var i = 0; i < 20; i++) { //>
     16         document.getElementById('input').focus();
     17         document.getElementById('iframe').contentDocument.getElementById('input').focus();
     18     }
     19 }
     20 </script>
     21