2009-12-14 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / SunSpider / resources / TEMPLATE.html
index 7259e0fbf9c24b507d25dee3740d574272266ad9..ae30db6b3741fb41c0a7bab9784a321d7dbcfc8d 100644 (file)
 <h3>@NAME@</h3>
 <div id="console">
 </div>
-<script src="../sunspider-record-result.js"></script>
 <script>
+function record(time) {
+    document.getElementById("console").innerHTML = time + "ms";
+    if (window.parent) {
+        parent.recordResult(time);
+    }
+}
 
 var _sunSpiderStartDate = new Date();