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

Side by Side Diff: chrome/test/data/dromaeo/webrunner.js

Issue 542088: Remove introduced trailing whitespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 (function(){ 1 (function(){
2 2
3 // Populated from: http://www.medcalc.be/manual/t-distribution.php 3 // Populated from: http://www.medcalc.be/manual/t-distribution.php
4 // 95% confidence for N - 1 = 4 4 // 95% confidence for N - 1 = 4
5 var tDistribution = 2.776; 5 var tDistribution = 2.776;
6 6
7 // The number of individual test iterations to do 7 // The number of individual test iterations to do
8 var numTests = 5; 8 var numTests = 5;
9 9
10 // The type of run that we're doing (options are "runs/s" or "ms") 10 // The type of run that we're doing (options are "runs/s" or "ms")
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 success: function(id){ 394 success: function(id){
395 var url = window.locatio n.href.replace(/\?.*$/, "") + "?id=" + id; 395 var url = window.locatio n.href.replace(/\?.*$/, "") + "?id=" + id;
396 div.html("Results saved. You can access them at a later time at the following URL:<br/><strong><a href=' " + url + "'>" + url + "</a></strong></div>"); 396 div.html("Results saved. You can access them at a later time at the following URL:<br/><strong><a href=' " + url + "'>" + url + "</a></strong></div>");
397 } 397 }
398 }); 398 });
399 } else if (post_json) { 399 } else if (post_json) {
400 jQuery.ajax({ 400 jQuery.ajax({
401 type: "POST", 401 type: "POST",
402 url: "store.php", 402 url: "store.php",
403 data: "data=" + encodeURICompone nt(JSON.stringify(window.automation.GetResults())) 403 data: "data=" + encodeURICompone nt(JSON.stringify(window.automation.GetResults()))
404 » » » » » }); 404 » » » » » });
405 } 405 }
406 else { 406 else {
407 window.automation.SetDone(); 407 window.automation.SetDone();
408 } 408 }
409 } 409 }
410 } 410 }
411 } 411 }
412 412
413 function updateTimebar(){ 413 function updateTimebar(){
414 $("#timebar").html("<span><strong>" + (runStyle === "runs/s" ? M ath.pow(Math.E, maxTotal / maxTotalNum) : maxTotal).toFixed(2) + "</strong>" + r unStyle + " (Total)</span>"); 414 $("#timebar").html("<span><strong>" + (runStyle === "runs/s" ? M ath.pow(Math.E, maxTotal / maxTotalNum) : maxTotal).toFixed(2) + "</strong>" + r unStyle + " (Total)</span>");
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 var means = aggregated[name]; 838 var means = aggregated[name];
839 var sum = 0; 839 var sum = 0;
840 for (var i = 0; i < means.length; i++) sum += me ans[i]; 840 for (var i = 0; i < means.length; i++) sum += me ans[i];
841 results[name] = Math.pow(Math.E, sum/means.lengt h).toString(); 841 results[name] = Math.pow(Math.E, sum/means.lengt h).toString();
842 } 842 }
843 843
844 return results; 844 return results;
845 } 845 }
846 } 846 }
847 })(); 847 })();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698