Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: chrome/test/data/v8_benchmark/run.html

Issue 42628: - Add UI test for the V8 Benchmark Suite.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/v8_benchmark/json2.js ('k') | chrome/test/ui/javascript_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/v8_benchmark/run.html
===================================================================
--- chrome/test/data/v8_benchmark/run.html (revision 12775)
+++ chrome/test/data/v8_benchmark/run.html (working copy)
@@ -1,6 +1,8 @@
<html>
<head>
<title>V8 Benchmark Suite</title>
+<script type="text/javascript" src="json2.js"></script>
+<script type="text/javascript" src="../../ui/v8_benchmark_uitest.js"></script>
<script type="text/javascript" src="base.js"></script>
<script type="text/javascript" src="richards.js"></script>
<script type="text/javascript" src="deltablue.js"></script>
@@ -22,6 +24,7 @@
function AddResult(name, result) {
+ automation.AddResult(name, result);
var text = name + ': ' + result;
var results = document.getElementById("results");
results.innerHTML += (text + "<br/>");
@@ -35,6 +38,8 @@
function AddScore(score) {
+ automation.SetScore(score);
+ automation.SetDone();
var status = document.getElementById("status");
if (success) {
status.innerHTML = "Score: " + score;
« no previous file with comments | « chrome/test/data/v8_benchmark/json2.js ('k') | chrome/test/ui/javascript_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698