Reviewed by Sam.
[WebKit-https.git] / SunSpider / hosted / sunspider-driver.html
index 5c6ebb7f42f046f62572f23abcf18b366fca46ff..1ec0c0dd41499b877321abee82447d95afabfc03 100644 (file)
@@ -28,7 +28,7 @@
 
 <title>SunSpider JavaScript Benchmark In Progress...</title>
 </head>
-<body>
+<body onload="next()">
 
 <h2>SunSpider JavaScript Benchmark In Progress...</h2>
 
@@ -65,6 +65,7 @@ function reallyNext()
 function recordResult(time)
 {
     output[currentRepeat][tests[testIndex]] = time;
+    next();
 }
 
 function finish()
@@ -86,7 +87,7 @@ function finish()
 
 </script>
 
-<iframe id="testframe" onload="next()" width="80%" height="500">
+<iframe id="testframe" width="80%" height="500">
 </iframe>
 
 </body>