summaryrefslogtreecommitdiffstats
path: root/PerformanceTests/Parser/html-parser.html
blob: bb2c73c4bc57a16a19460b6feb93e1357e3edf59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<body>
<pre id="log"></pre>
<script src="resources/runner.js"></script>
<script>
var spec = loadFile("resources/html5.html");

start(20, function() {
    var iframe = document.createElement("iframe");
    iframe.src = "about:blank";
    iframe.style.display = "none";
    document.body.appendChild(iframe);
    iframe.contentDocument.open();
    iframe.contentDocument.write(spec);
    iframe.contentDocument.close();
    document.body.removeChild(iframe);
});
</script>
</body>