- Fix the browser-hosted driver to be compatible with Safari 2
* hosted/sunspider-driver.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26813
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-10-20 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Oliver.
+
+ - Fix the browser-hosted driver to be compatible with Safari 2
+
+ * hosted/sunspider-driver.html:
+
2007-10-20 Maciej Stachowiak <mjs@apple.com>
Rubber stamped by Hyatt.
<title>SunSpider JavaScript Benchmark In Progress...</title>
</head>
-<body>
+<body onload="next()">
<h2>SunSpider JavaScript Benchmark In Progress...</h2>
function next()
{
- window.setTimeout(reallyNext, 200);
+ window.setTimeout(reallyNext, 500);
}
function reallyNext()
function recordResult(time)
{
output[currentRepeat][tests[testIndex]] = time;
+ next();
}
function finish()
</script>
-<iframe id="testframe" onload="next()" width="80%" height="500">
+<iframe id="testframe" width="80%" height="500">
</iframe>
</body>