Home | History | Annotate | Download | only in Parser
      1 <!DOCTYPE html>
      2 <body>
      3 <pre id="log"></pre>
      4 <script src="resources/runner.js"></script>
      5 <script>
      6 var domParser = new DOMParser();
      7 var xmlArray = [];
      8 
      9 xmlArray.push('<root>');
     10 for (var i = 0; i < 0x7FFF; ++i)
     11     xmlArray.push('');
     12 xmlArray.push('')
     13 var xmlData = xmlArray.join('');
     14 
     15 start(20, function() {
     16     domParser.parseFromString(xmlData, "text/xml");
     17 });
     18 </script>
     19 </body>
     20