Make FileWriter writes from current position and change failure condition
[framework/web/webkit-efl.git] / PerformanceTests / Parser / html-parser.html
1 <!DOCTYPE html>
2 <body>
3 <script src="../resources/runner.js"></script>
4 <script>
5 var spec = PerfTestRunner.loadFile("resources/html5.html");
6
7 PerfTestRunner.run(function() {
8     var iframe = document.createElement("iframe");
9     iframe.style.display = "none";  // Prevent creation of the rendering tree, so we only test HTML parsing.
10     iframe.sandbox = '';  // Prevent external script loads which could cause write() to return before completing the parse.
11     document.body.appendChild(iframe);
12     iframe.contentDocument.open();
13     iframe.contentDocument.write(spec);
14     iframe.contentDocument.close();
15     document.body.removeChild(iframe);
16 }, 1);
17
18 </script>
19 </body>