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